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

Re: Different CN's for DN and CN.



Yes that's a new constraint comming with 2.1.14 and above ...(better respect to RFCs i supose)
RDN attribute must be exactly the same (except respect of case) as the attributre difined in the object. in your case you must have:


> dn: cn=myname, ou=people, dc=sws, dc=oldham, dc=uk, dc=net
> cn: myname
and  NOT:
> cn: My Name

Andrew McCall wrote:
Hi,

I have an OpenLDAP directory set up and it all works great. However
after explaining it to some other people who know about LDAP they
pointed out that I have a "problem" with the way my CN and DN are set
up.

Here is how a typical entry would look :

dn: cn=myname, ou=people, dc=sws, dc=oldham, dc=uk, dc=net
cn: My Name
sn: Primary School
...
... etc.

You will notice that the dn: contains "myname" all one work, all lower
case for the cn part of the dn, but the cn: contains My Name, leading
cap's with a space for it.

How does this work? Does this make the LDAP "wrong"?

Everything works, but it just makes our naming convention a little
difficult to maintain, I am planning on changing the DN to hold the UID
rather than the CN, but some entries don't have a UID, so it means that
I will have a mixture or DN's with UID's and DN's with CN's.


Thanks

Andrew McCall



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.oldham.gov.uk
**********************************************************************




-- Jehan Procaccia | Ingenieur Systemes & Reseaux Institut National des Telecommunications| Tel : +33 (0) 160764436 MCI, Moyens Communs Informatiques | Mail: Jehan.Procaccia@int-evry.fr 9 rue Charles Fourier 91011 Evry France | Fax : +33 (0) 160764321