Table
Option | Description |
Specifies that the search results are sorted on the server rather than on the client. This is useful to | |
| sort according to a matching rule, as with an international search. In general, it is faster to sort on |
| the server rather than on the client. |
|
|
Specifies the maximum number of entries to return in response to a search request. For example: | |
| |
| Normally, regardless of the value specified here, the ldapsearch utility never returns more entries |
| than the number allowed by the server's |
| user is the Directory Manager. However, this limitation can be overridden by binding as the root |
| DN when using this |
| option to default to zero (0). The default value for the |
| entries. See |
|
|
A persistent search leaves the search operation open after the initial search results are returned. This allows the entries returned in the search to remain in cache and updates to be transmitted and included as they occur. Persistent searches leave the ldapsearch open until the client closes the connection. Using persistent searches is described in the "Finding directory entries" appendix of the
#ldapsearch
In the access logs, a persistent search is identifies with the tag options=persistent.
Table
Option | Description |
Runs the ldapsearch utility as a persistent search. | |
|
|
Prints all the output from the ldapsearch command from the buffer immediately. This is | |
| useful with the |
| delay and without the search hanging. It can also be used with other searches (using the |
| ldapsearch utility), not only persistent searches. |
PS:changetype Specifies which types of changes to entries allow the entry to be returned in the persistent search. There options are:
•add
•delete
•modify
•moddn (modRDN)
•all
changesonly Sets whether to return all existing entries which match the search filter (0) or only to return matching entries when the entry is modified (1). The default is 1
entrychgcontrols Sets whether to send entry change controls, additional information about the modification made to the entry. If the value is set to 0, then only the entry is returned. If the value is set to 1, then a line is added to the entry as it is returned to the persistent search that lists the changeType performed on the entry. The default is 1.
6.4.4 ldapsearch SSL optionsThe following
192