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

Re: Problems with initial setup/domain name format yyy.xxx.org





--On Saturday, March 18, 2006 9:16 PM -0600 Doss Buckalew <zubunta@gmail.com> wrote:


top.ldif ----------

dn: dc=xxx,dc=yyy,dc=org
objectClass: top
objectClass: organization
dc: yyy
o: My Organization


command issued: -------------------------- ldapadd -x -D "cn=manager,dc=yyy,dc=xxx,dc=org" -W -f top.ldif


When I issue this command, I get: ldap_add: Naming violation (64) additional info: value of naming attribute 'dc' is not present in entry


Right, the RDN value is dc: xxx. The RDN value must be present in the entry.

If I change top.ldif to:

dn: dc=xxx,dc=yyy,dc=org
objectClass: top
objectClass: organization
dc: yyy
dc: xxx
o: My Organization


I get: ldap_add: Constraint violation (19) additional info: dc: multiple values provided

Can someone tell me the correct way to handle setting up the LDAP server
with a 3-part domain name as I am trying to do here?  And if it is not
possible, does anyone have any suggestions as to what my best options are?

dn: dc=xxx,dc=yyy,dc=org objectClass: top objectClass: organization dc: xxx o: My Organization


Is what you are looking for... If you plan on putting things under dc=yyy too, then you should create:


dn: dc=yyy,dc=org
objectClass: top
objectClass: organization
dc: yyy
o: My Organization

first...

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html