SearchRequest

Overview#

SearchRequest is a LDAP Message used to identify entries in the DSA that match a given set of criteria.

SearchRequest MAY return zero or more entries, and also zero or more referrals.

The SearchRequest LDAP Message is defined as follows:

SearchRequest ::= [APPLICATION 3] SEQUENCE {
    baseObject      LDAPDN,
    scope           ENUMERATED {
        baseObject              (0),
        singleLevel             (1),
        wholeSubtree            (2),
    ...  },
    derefAliases    ENUMERATED {
        neverDerefAliases       (0),
        derefInSearching        (1),
        derefFindingBaseObj     (2),
        derefAlways             (3) },
    sizeLimit       INTEGER (0 ..  maxInt),
    timeLimit       INTEGER (0 ..  maxInt),
    typesOnly       BOOLEAN,
    filter          Filter,
    attributes      AttributeSelection 
    } 
The elements of the search request include:

Search Responses#

There are three types of result elements that can be returned in response to a search request:

Any SearchResultEntry may be read.

More Information#

There might be more information for this subject on one of the following: