14.15 LDAP Paged Search Control

The LDAP paged search control is used with an LDAP Search operation to allow clients to receive search results in a controlled manner limited by the page size. The size of the page can be determined by the administrator based on the available resources and infrastructure. For more information about the LDAP Paged Search Control, see RFC 2696.

To use paged search control, an administrator must provide the paged search control OID 1.2.840.113556.1.4.319 in the search request. In order to use paged search control, an administrator must also ensure that all the partitions are present in the same server.

When all the partitions are not present in the same server and the administrator performs LDAP Search with paged control and criticality level set, the below error message will be displayed on the client side:

Server is unwilling to perform (53)

In case the administrator wants to avoid receiving the above error message, set the NDSD_NLDAP_IGNORE_CRITICALITY environment variable to true.

NOTE:Any version of eDirectory previous to 9.2 SP2 failed to display such error message on client side even if criticality level was set with paged search control.

To perform paged search control for ldapsearch, use the following command:

ldapsearch -x -h <SrvIP> -p <Port> -D <Admin DN> -w <Password> -E \!pr=<page size>/<prompt|no prompt> -b o=novell -s one