Situation
A rootDSE search returns a list of all the naming contexts that an
LDAP server can successfully process - either by returning a
referral or a result set directly. If a server holds a copy
of the entire tree, the only naming context returned is an empty
string.
Here's an example of the output using ldapsearch.
$ ldapsearch -b "" -s base objectclass=* namingcontexts
dn:
namingContexts:
Here's an example of the output using ldapsearch.
$ ldapsearch -b "" -s base objectclass=* namingcontexts
dn:
namingContexts:
Resolution
This behavior is by design and follows LDAP RFC 2251 which
outlines the values returned from a Root DSE search.
An enhancement request has been submitted to return the treename in a namingcontext.
An enhancement request has been submitted to return the treename in a namingcontext.