Examples of LDAP filters for connecting to a directory service |
The domain configuration directory and search fields use the LDAP search syntax. In this section, you will be given some basic concepts and examples on how to set up a search filter.
In the table below, the description of the logical operators that can be used in the syntax of the search filter is presented:
Examples of search filters See the table below for some examples on how to complete the Search field of the configuration screen of a directory:
The system allows defining a filter for searching users and another one for searching groups within the respective domain. Regardless of the filter set for searching users and groups in the domain in question, SE Suite has a pre-defined rule which consists of: ▪the user filter will always search for users (objectClass=user) ▪the group filter will always search for groups (objectClass=group) That is, the defined filter will be added to the SE Suite default filter.
Example of filling the directory field Consider a "DptoTest" directory within the "contoso.local" domain:
Here are some examples on how to complete the Directory field of a domain configuration screen: ▪Example to apply the filter in the above directory: (OR=DptoTest,OR=Company,DC=contoso,DC=local) ▪Example with two directories ("Test1" and "Test2"). To do the search in more than one directory, simply add another directory separated by comma: (OR=Test1,DC=contoso,DC=local),(OR=Test2,DC=contoso,DC=local)
|