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

struck with ldap_add: No such object (32)



Hi all
I am a newbie trying to setup a ldap server
$ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f
/etc/openldap/example.com.ldif
Enter LDAP Password:
adding new entry "dc=example,dc=com"

ldapadd: no attributes to change or add (entry="ou=People,
dc=example,dc=com")

then i tried again same
$ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f
/etc/openldap/example.com.ldif
Enter LDAP Password:
adding new entry "dc=example,dc=com"
ldap_add: Already exists (68)
 so i went on with importing root.ldif

$ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f /etc/openldap/root.ldif
Enter LDAP Password:
adding new entry "uid=root,ou=People,dc=example,dc=com"
ldap_add: No such object (32)
        matched DN: dc=example,dc=com

this doesnt make sense to me

my slapd.conf looks like this
database        bdb
suffix          "dc=example,dc=com"
rootdn          "cn=Manager,dc=example,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpw                secret
# rootpw                {crypt}ijFYNcSNctBYg
rootpw          {SSHA}oBje21m28VPXUIaUAlXQFQ4xvY6FUoZG

What say ?
Thanks
Sajag