The input format for a SEARCH request is as follows:
SEARCH msgid: integer [suffix: dn]+ base: baseobjectdn scope: 0 | 1 | 2 deref: 0 | 1 | 2 | 3 sizelimit: integer timelimit: integer attrsonly: 0 | 1 attrs: all | attrlistThe values of the scope parameter correspond to the various LDAP scopes listed in <ldap.h>.
The values of the deref parameter correspond to the various LDAP dereference options listed in <ldap.h>.
The filter parameter is a string representation of the LDAP search filter, as described in RFC 1588.
The attrlist is a space-separated list of attributes to retrieve.