Comment #3 on issue 40 by
david.de...@nitorgroup.com: LDAP search not
RFC 4512 Section 5.1 says the following about root DSEs:
"An LDAP server SHALL provide information about itself and other
information that is specific to each server. This is represented as
a group of attributes located in the root DSE, which is named with
the DN with zero RDNs (whose [RFC4514] representation is as the
zero-length string).
These attributes are retrievable, subject to access control and other
restrictions, if a client performs a Search operation [RFC4511] with
an empty baseObject, scope of baseObject, the filter "(objectClass=*)"
[RFC4515], and the attributes field listing the names of the desired
attributes. It is noted that root DSE
attributes are operational and, like other operational attributes,
are not returned in search requests unless requested by name."
What we've found is that some implementations (including JNDI) cannot
retrieve the attributes such as namingContexts from the root DSE unless
they are requested by name.