Directory search with paging and sorting
The search function searches for a filter match on only the first 240 bytes of an attribute if indexing is enabled for that attribute. If sort is specified on a search request, the server sorts the entries that are found by the search by using only the first 240 bytes.
Any user or client application needs consider that a match for
a search filter that exists in a value after the first 240 bytes might
not be returned to the client based on whether indexing is enabled
for that table.
Note: This restriction is specific to IBM® Verify Directory.IBM LDAP servers on other operating systems, z/OS® and, i5/OS™ might have different restrictions. Consult
the documentation for each operating system to determine restrictions.
The administrator can tell if indexing is enabled for an attribute
by looking at the attribute definition in the Web Administration tool
() or by looking at the attribute definition that is
returned by a search of cn=schema. When you
view an attribute definition in the Web Administration tool,
the IBM extensions tab displays
the following rules:
- Indexing rules
-
Equality Ordering Approximate Substring Reverse
ibmattributetypes value contains the keywords: APPROX, EQUALITY, ORDERING, SUBSTR,
or REVERSE. For example, the cn attribute has the
following defined indexes. attributetypes=( 2.5.4.3 NAME ( 'cn' 'commonName' ) DESC 'This is the X.500
commonName attribute, which contains a name of an object.
If the object corresponds to a person, it is typically the
persons full name.' SUP 2.5.4.41 EQUALITY 2.5.13.2
ORDERING 2.5.13.3 SUBSTR 2.5.13.4 )
ibmattributetypes=( 2.5.4.3 DBNAME ( 'cn' 'cn' ) ACCESS-CLASS NORMAL LENGTH
256 EQUALITY ORDERING SUBSTR APPROX )See Rules for indexing.