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

DN with "'s



Hello list,

I happen to have an entry in my OpenLDAP (2.0.2) server that has:

dn: cn="Some Name", ou=contacts, .....
cn: "Some Name"

Now AFAIK this should be either

dn: cn=\"Some Name\", ou=contacts, .....
cn: "Some Name"

... or an entry with "bogus" (but not illegal) "'s, so equivalent to

dn: cn=Some Name, ou=contacts
cn: Some Name


However, the latter should be searchable with

ldapsearch -v -h localhost -b 'dc=openoffice,dc=nl' '(cn=Some Name)'

It is not, I need to specify '(cn="Some Name")', which suggests that the
attribute *is* actually a \"Some Name\" (back slashes for clarity here).

Now I'm all confused. Is this an OpenLDAP anomaly or am I wrong assuming
that "Some Entry" needs back slashes? The "Understanding and
deploying..." (Howes, Smith, Good) says so.

Can anyone please comment on this? Is this a bug? Is it solved in 2.0.2++?

Best regards,

Valentijn
-- 
Valentijn Sessink - valentyn@nospam.openoffice.nl
-
Open Office - Linux for the desktop - www.openoffice.nl