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

Re: Leading spaces in DN



On Wed, May 07, 2003 at 11:09:43AM +0200, Pierangelo Masarati wrote:

> a) if you need to quote a space in a DN you may use "\ " or "\20";
> 
> b) matching rules for the "cn" value ignore the leading/trailing
> spaces.
> 
> So,
> 
> dn: cn=EMO
> 
> and
> 
> dn: cn=\ EMO
> 
> are different DNs as per the DN string representation,
> but when their value is compared, they are equal as per the
> "cn" value matching.
> 
> Point (a) has to do with string representations of DNs; it says
> how a DN may legally contain a value, regardless of its semantics
> 
> Point (b) has to do with how the type "cn" is compared, so is
> not related to DN string representation, but rather to attribute
> matching rules, something a DN string representation has nothing
> to deal with.

Erm... There is simply *no* way to have a significant leading space in an
attribute's value, as far as the DN is concerned? Is that right?

Thank You in advance, Pierangelo,

- Marian