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

Re: Populate a new ldap tree: ldap_add: No such object



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use slapadd -l nameOfYour.ldif
Tobias

Graham Leggett wrote:

| Hi all,
|
| I am banging my head against a new LDAP slave server install that
| refuses to cooperate with me, and I'm hampered further by the vagueness
| of the error message: ldap_add: No such object
|
| I have a slapd configured like so:
|
| database        ldbm
| suffix          "o=XXX,c=ZA"
| rootdn          "cn=Directory Administrator,o=XXX,c=ZA"
| directory       /var/lib/ldap/XXX
|
| I intend to populate this clean server with the ldif file from the
| master LDAP server, but ldapmodify refuses to cooperate, giving the
| following error for the root object:
|
| [root@samantha openldap]# ldapmodify -x -D "cn=Directory
| Administrator,o=XXX,c=ZA" -w yyyy
| dn: o=XXX,c=ZA
| changetype: add
| objectClass: top
| objectClass: organization
| o: XXX
| description: The XXX Company
|
| adding new entry "o=XXX,c=ZA"
| ldap_add: No such object
|
| ldif_record() = 32
|
| I have checked the syslog for errors (with it configured to log
| absolutely everything), but it just mirrors the error message "No such
| object".
|
| Can anyone explain to me what openldap is trying to tell me?
|
| Which object is it referring to when it says "no such object?".
|
| Regards,
| Graham
| --
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFApnS6RJX8S0T0CkURAjmnAKCFnAF+DOqIhEnZKAmyQTP86IZu/gCglNts
NhC7cgPiHk6bm1qK1po+qB8=
=F1QL
-----END PGP SIGNATURE-----