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

Re: dc's in the suffix and adding the node to the tree





--On Donnerstag, 7. Februar 2002 15:21 +0000 Kamesh Patel <kamesh.patel@emsgroup.co.uk> wrote:

suffix "o=companyname,dc=co,dc=uk"

You're using a strange mixture of X.520 and dc naming. The intended use is "dc=companyname,dc=co,dc=uk".


when adding the node to the ldap tree as follows:

dn: o=comapnyname, dc=co,dc=uk
objectclass: dcObject
objectclass: organization
o: companyname
dc: co
dc: uk

i get a strange error message in return which is:

ldap_add: Constraint violation
        additional info: dc: multiple value provided

dc is a single-value attribute (see RFC 2247), ie. only the "leftmost" value goes into the entry. Use associatedDomain if you want to include the full domain name. Try:


dn: dc=companyname, dc=co,dc=uk
objectclass: dcObject
objectclass: organization
dc: companyname
o: companyname

--
Norbert Klasen, Dipl.-Inform.
DAASI International GmbH                 phone: +49 7071 29 70336
Wilhelmstr. 106                          fax:   +49 7071 29 5114
72074 Tübingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de