Constructs a search constraints using arguments.
Parameters:
-
scope - The search scope. One of:
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE.
-
timelim - The number of milliseconds to wait before returning.
If 0, wait indefinitely.
-
deref - If true, dereference links during search.
-
countlim - The maximum number of entries to return. If 0, return
all entries that satisfy filter.
-
retobj - If true, return the object bound to the name of the
entry; if false, do not return object.
-
attrs - The identifiers of the attributes to return along with
the entry. If null, return all attributes. If empty
return no attributes.