--On Wednesday, November 08, 2006 10:19 AM +0100 Miek Gieben <miek(a)bit.nl>
I'm not sure this is the correct list, but here it goes.
I'm creating a ldap tree with the usual layout:
Where companyName is a customer. Adding entries with this DN
works and I can query the tree, etc. etc.
Now some customers can also have clients which should also be
represented in this tree. This would lead to the following DN
to be created:
So: 'o=client,ou=Organizations' is placed below 'o=companyName'. Now
when I try to add this to openldap I get this in the logs:
slapd: do_add: dn
slapd: ==> bdb_add:
slapd: send_ldap_result: err=64 matched="" text="value of naming
attribute 'o' is not present in entry"
where the ldif added is:
 => dn:
 => objectClass: top
 => objectClass: Organization
 => deleted: FALSE
 => o: client:companyName
 => cn: test test test
What I'm I doing wrong? Can't you have two 'o=' attributes in a DN? And
why does it complain about a missing attribute 'o', when in fact is looks
to be there?
To have multi-valued attributes, you list them twice:
I think you don't understand the o/ou hierarchy though, since I can't see
how an "o" would appear below an "ou"...
Also, the correct list for general LDAP questions is "ldap(a)umich.edu".
This list is for questions specific to the OpenLDAP software, so if you
have further generic LDAP issues, I advise posting to the ldap@umich list.
Principal Software Developer
ITS/Shared Application Services
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html