samba w/ ldap backend problem

Discussion in 'Installation/Configuration' started by fruitvendor, Jun 22, 2011.

  1. fruitvendor

    fruitvendor New Member

    Hello Guys,
    I know this is an old issue, but after searching for days I never got any solution,

    I always get this errors every time I try the net groupmap list command

    [[email protected] ~]# service ldap start
    Checking configuration files for slapd: config file testing succeeded
    [ OK ]
    Starting slapd: [ OK ]
    [[email protected] ~]# service smb start
    Starting SMB services: [ OK ]
    Starting NMB services: [ OK ]
    [[email protected] ~]# smbldap-populate
    Populating LDAP directory for domain testnet (S-1-5-21-3134338896-4002842771-617224089)
    (using builtin directory structure)

    adding new entry: dc=testnet
    adding new entry: ou=People,dc=testnet
    adding new entry: ou=Group,dc=testnet
    adding new entry: ou=Computers,dc=testnet
    adding new entry: ou=Idmap,dc=testnet
    adding new entry: uid=root,ou=People,dc=testnet
    adding new entry: uid=nobody,ou=People,dc=testnet
    adding new entry: cn=Domain Admins,ou=Group,dc=testnet
    adding new entry: cn=Domain Users,ou=Group,dc=testnet
    adding new entry: cn=Domain Guests,ou=Group,dc=testnet
    adding new entry: cn=Domain Computers,ou=Group,dc=testnet
    adding new entry: cn=Administrators,ou=Group,dc=testnet
    adding new entry: cn=Account Operators,ou=Group,dc=testnet
    adding new entry: cn=Print Operators,ou=Group,dc=testnet
    adding new entry: cn=Backup Operators,ou=Group,dc=testnet
    adding new entry: cn=Replicators,ou=Group,dc=testnet
    adding new entry: sambaDomainName=testnet,dc=testnet

    Please provide a password for the domain root:
    Changing UNIX and samba passwords for root
    New password:
    Retype new password:
    [[email protected] ~]# net groupmap list
    [2011/06/22 11:17:19, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(3107)
    ldapsam_setsamgrent: LDAP search failed: No such object
    [2011/06/22 11:17:19, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(3179)
    ldapsam_enum_group_mapping: Unable to open passdb

    I hope someone would help,
  2. fruitvendor

    fruitvendor New Member

    any hints or possible solutions

Share This Page