[CALUG] More LDAP fun

Joe Tseng jtsengorg at gmail.com
Sun Nov 27 21:40:14 CST 2005


All I'm trying to do is add a person to the top of my LDAP tree and I can't
get ldapadd to work for me...  This is what happens:

# ldapadd -x -D 'cn=3Dadmin,dc=3Dhome' -W -f contacts1.ldif
Enter LDAP Password:
adding new entry "uid=3Djtseng,ou=3Dcontacts,ou=3Dpeople,dc=3Dhome"
ldap_add: No such object (32)
        matched DN: dc=3Dhome
        additional info: parent does not exist

Here is the LDIF for the top of my tree:

dn: dc=3Dhome
objectClass: top
objectClass: dcObject
objectClass: organization
o: home
dc: home

ou: People
dn:ou=3DPeople,dc=3Dhome
objectClass: organizationalUnit

ou: Groups
dn:ou=3DGroups,dc=3Dhome
objectClass: organizationalUnit

ou: Contacts
dn:ou=3Dcontacts,ou=3Dpeople,dc=3Dhome
associatedDomain: home
objectClass: organizationalUnit
objectClass: domainRelatedObject

And here is the LDIF for one of my contact entries:

dn: uid=3Djtseng,ou=3Dcontacts,ou=3Dpeople,dc=3Dhome
mail: joetseng at ...
uid: jtseng
givenName: Joe
sn: Tseng
cn: Joe Tseng
objectClass: person
objectClass: top
objectClass: inetOrgPerson

Does anyone know if there is something obvious that I'm missing?  And are
these entries context-sensitive?

--


Joe Tseng

"I can be Googled.  Therefore I am."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calug.com/pipermail/lug/attachments/20051127/91680403/attachmen=
t.html


More information about the lug mailing list