[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: struck with ldap_add: No such object (32)
- To: "Sajag Arora" <sajag.arora@gmail.com>
- Subject: RE: struck with ldap_add: No such object (32)
- From: "Amir Saad" <Amir.Saad@bibalex.org>
- Date: Wed, 21 Dec 2005 14:58:26 +0200
- Cc: <OpenLDAP-software@OpenLDAP.org>
- Content-class: urn:content-classes:message
- Thread-index: AcYGLe/hOKgSvYUMT/mziVWtj/hcsgAAEulH
- Thread-topic: struck with ldap_add: No such object (32)
please put the content of ur ldif file to check it
thanks
Amir Saad
Software Engineer
________________________________
From: owner-openldap-software@OpenLDAP.org on behalf of Sajag Arora
Sent: Wed 12/21/2005 9:07 AM
To: OpenLDAP-software@OpenLDAP.org
Subject: 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