[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapadd fails with "ldap_add: No such object (32)"



Hello,

I am new to openldap and am having trouble with ldapadd.  This is the error I am getting when running the command.

[root@centutl1 openldap]# ldapadd -x -D "cn=ldapadmin,dc=cent,dc=lan" -w "foo" -f /etc/openldap/passwd.LDIF
adding new entry "uid=root,ou=People,dc=cent,dc=lan"
ldap_add: No such object (32)


Here is my slapd.conf and the commands I used to get to this point.

database        bdb
suffix          "dc=cent,dc=lan"
rootdn          "cn=ldapadmin,dc=cent,dc=lan"
rootpw                  {SSHA}M3xAuwK9FK6Oj28DiTpR0Pb/DBaVHUcU

issued service ldap start

[root@centutl1 openldap]# service ldap start
Checking configuration files for : config file testing succeeded
Starting slapd:                                            [  OK  ]


1. migrate_common.ph (changed to $DEFAULT_BASE = "dc=cent,dc=lan";)
2. migrate_passwd.pl /etc/password passwd.LDIF
3. migrate_group.pl /etc/group group.LDIF
4. Attempted to import the files with these commands.

Thanks in advance.

ReedK