Finding LDAP entries

The standard Admin4 Find Object function is enhanced and will perform a ldap search operation when executed.

There are two forms of find filter specifications:

Simple find

For the simple find, you specify one or more AttrName=Value pairs, separated by spaces, e.g.

uid=andr loginshell=sh

This will search for all objects whose uid contains "andr" and loginshell contains "sh", i.e. the resulting ldap search filter actuall is: (*(uid=*andr*)(loginshell=*sh*)) .

 

Standard LDAP syntax

You can also use the standard LDAP syntax, which is detected automatically when the search string starts with "(". Any legal ldap search filter is allowed here and will be executed if the number of opening braces is equal to the number of closing braces.