LDAP query customization
- Last UpdatedOct 29, 2026
- 2 minute read
Use the LDAP Query Customization tab to customize your project's query to the LDAP server.
By default, the LDAP server provides a list of all registered users and groups, so in a large or complex network environment, this can result in an impractically long list to manage when you are configuring the security system for your project. You can shorten the list by customizing the query to filter any users who should never have access to your project.
These settings should be configured only by experienced LDAP server administrators.
To customize the LDAP query:
-
In the LDAP Server Settings dialog box, go to the LDAP Query Customization tab.

-
Under Query Customization, click Modify.
You are prompted for your LDAP server credentials.
-
Enter your user name and password, and then click OK.
You need to have sufficient privileges to save this information to the LDAP server.
-
Select Enable.
The remaining settings become available for configuration.
-
Configure the Search Base and Filter Query settings as needed.
The Filter Query string is limited to 2048 characters. For more information, including the proper syntax, see the documentation for your LDAP server.
-
To check the query results at any time, and how your customized query changes those results, click Check Query.
-
If your customized query does return the expected results, review the entity identifiers and attributes.
Some non-standard LDAP implementations โ such as Linux-based LDAP servers and Active Directory Application Mode (ADAM) โ use different entity identifiers and attributes. Those can be customized in this dialog box, but again, it should be done only by an experienced LDAP administrator. For example:
LDAP Server
User name attribute
Group name attribute
User lock attribute
Active Directory
sAMAccountName
sAMAccountName
userAccountControl
Active Directory Application Mode (ADAM)
Name
Name
userAccountControl