• To search for a subset of the entries in the ou=People,dc=example,dc=com subtree, specify a compound filter.

    In the following example, no more than 200 entries will be returned and the server will spend no more than 5 seconds processing the request. Returned attributes are restricted to a few operational attributes.

    $ bin/ldapsearch --baseDN ou=People,dc=example,dc=com \ 
      --searchScope sub --sizeLimit 200 --timeLimit 5 \ 
      "(&(sn<=Doe)(employeeNumber<=1000))" ds-entry-unique-id entryUUID