 <p>LDAP-compliant directory servers should provide information about the <code>namingContexts</code> when the root DSE is queried. For more information about the root DSE, see "<a href="http://www.evernote.com/shard/s5/sh/e6bdc1cd-068d-4d63-93f1-a3275f7a703b/b5968790355e854a35ba36dc775144b9" rel="nofollow">LDAP: The root DSE</a>". The <a href="http://www.unboundid.com/products/ldap-sdk/" rel="nofollow">UnboundID LDAP SDK</a> provides a class to encapsulate the root DSE and a convenience method to retrieve it.</p>