[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
struck with ldap_add: No such object (32)
- To: OpenLDAP-software@OpenLDAP.org
- Subject: struck with ldap_add: No such object (32)
- From: Sajag Arora <sajag.arora@gmail.com>
- Date: Wed, 21 Dec 2005 12:37:15 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=uQxL4NAXeIT58Pk64nY/vVDyMvdTm9LD/64hy2DRhRAUeoVZRNoKQcX5zY5arFKw90BzYB1mqXFNwRViRhtVfipA+Y5YS091vCd74IO+2SXRT9Hp8XhTsHaP5GEtsmQcTc79E0LVA0XXi60VqrwBp70D6UosqfHjmGYpIT2gZ7k=
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