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

Re: do spaces matter in DNs?



William L Anderson wrote:

> I'm getting different search results in my DIT depending on where I
> start the search.
>
> We're using LDAP via JNDI to create and maintain a directory of
> document services. When these entries are created the DNs are always
> of the form:
>
> cn=ServiceName,ou=Services,dc=domain,dc=xerox,dc=com
>
> however, I did use the java LDAPBrowser to create a test service
> (creating a template, etc.) and that created an entry with a DN like
> this:
>
> cn=TestService, ou=Services, dc=domain, dc=xerox,dc=com

Both are equivalent.
The simple answer is *NO*. Whitespace after each rdn is ignored.
-Raj


>
>
> And this entry is only listed when a search begins at the root. This
> implies that the spaces between the node names are significant. I was
> assuming that the whitespace between node names was not significant.
>
> This would imply that one must be careful how entries are created, so
> that searches work properly. Am I missing something here?
>
> We're using OpenLDAP 1.1.2.
>
> Bill Anderson
begin:vcard 
n:Kunjithapadam;Raj
tel;cell:408-504-3254
tel;home:510-651-9978
tel;work:650-569-5733
x-mozilla-html:TRUE
org:@Home Network;Set Top Engineering
adr:;;4023 Budwing Terrace;Fremont;CA;94538;US
version:2.1
email;internet:rajk@home.com
title:Software Engineer
x-mozilla-cpt:;0
fn:Raj Kunjithapadam
end:vcard