Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>All LDAP v3 compliant directories must contain a list of OIDs for the controls that the server supports. The list can be accessed by issuing a base-level search with a null/empty search root DN to get the directory server root DSE and reading the multi-value <code>supportedControl</code>-attribute.</p> <p>The OID for paged search support is <a href="http://www.oid-info.com/cgi-bin/display?oid=1.2.840.113556.1.4.319&amp;submit=Display&amp;action=display" rel="noreferrer">1.2.840.113556.1.4.319</a>.</p> <p>Here's a code snippet to get you started:</p> <pre><code>LdapConnection lc = new LdapConnection("ldap.server.name"); // Reading the Root DSE can always be done anonymously, but the AuthType // must be set to Anonymous when connecting to some directories: lc.AuthType = AuthType.Anonymous; using (lc) { // Issue a base level search request with a null search base: SearchRequest sReq = new SearchRequest( null, "(objectClass=*)", SearchScope.Base, "supportedControl"); SearchResponse sRes = (SearchResponse)lc.SendRequest(sReq); foreach (String supportedControlOID in sRes.Entries[0].Attributes["supportedControl"].GetValues(typeof(String))) { Console.WriteLine(supportedControlOID); if (supportedControlOID == "1.2.840.113556.1.4.319") { Console.WriteLine("PAGING SUPPORTED!"); } } } </code></pre> <p>I don't think iPlanet supports paging but that might depend on the version you're using. Newer versions of Sun-made directories seem to support paging. You're probably best off checking your server using the method I've described.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload