Common LDAP Search Strings - ILST

Common LDAP Search Strings used with the ILST

There are a few common search strings that are used when configuring the ILST. Below are examples that can be used and cover most common situations. They can be combined to make more complex queries, if needed. 

Select all people in an OU

LDAP cannot make queries based on OU. Instead, identify the OU in your base DN

<BaseDN>OU = employees, OU=Users,DC=company,DC=com</BaseDN>

Select people in an AD Group

If you want to sync users that are members of an AD group, you can include a memberOf filter to your query string


Select people based on attributes

You can select people based off of attributes in AD just by using the attribute name. The following example finds all users that have "Manager" as their "Title" in AD.


Exclude deactivated users

To exclude users that have been deactivated in your AD, include the following user account control filter to your search string. While this is not typically necessary, it is best practice to include it in all query strings to ensure deactivated people do not get included in any queries.


Viewed 111 times