Sorted search control
Use this information to work with sorted search control.
Sorted Search Results provides sort capabilities for LDAP clients with limited or no sort function. Sorted Search Results allows an LDAP client to receive search results sorted based on a list of criteria, where each criteria represents a sort key. The sort criteria includes attribute types, matching rules, and descending order. The server uses this aspect to sort search results before you return them. This aspect moves the responsibility of sorting from the client application to the server, where it might be done much more efficiently. For example, a client application might want to sort the list of employees at the company's Grand Cayman site by surname, common name, and telephone number. Instead of building the search list twice so it can be sorted (when at the server and then again at the client after all the results are returned), the search list is built only at one time, and then sorted, before you return the results to the client application.
ibm-slapdSortKeyLimit: 3See Search Settings for information on how to
do this action. If the line does not exist, add it to set the new maximum if the line does not
exist, the server is using the default value.By default the server accept requests from non-administrator binds, including those bindings
anonymously. Because sorting search results before you return them uses more server resources than
returning them, you might want to configure the server to accept only requests from users that bind
with administrator authority. To accept sorted search requests submitted by using only administrator
bind, change the line ibm-slapdSortSrchAllowNonAdmin: true to
ibm-slapdSortSrchAllowNonAdmin: false in the ibmslapd.conf
file. See Search Settings. If the
line does not exist, add it with a value of False to enable only
administrator binds for sorted search
operations.
- Combine all referral results before they are present to the user
- Show multiple lists and the corresponding referral server host name
- Take no extra steps and show all results to the user as they are returned from the server
- The server takes advantage of the underlying DB2® database to do sorting of search results. This aspect means that different sorted search results are based on the data code page for the database, especially if your database code page is UTF-8.
- Ordering rules that are specified for a sort key attribute are ignored by the server. Now, ordering rules are not supported by the server.
- There is no support for sorting multiserver (referrals). The server cannot ensure that referred servers support sorted search results.
1.2.840.113556.1.4.473, and is included in the Root DSE
information as a supported control.