Managing LDAP Directories
About this task
You can manage the LDAP directories in the LDAP directories section. You can view all the LDAP directories configured listed in a table here with their directory URL details. You can create, update, delete and prioritize the LDAP directories here.
To add an LDAP directory
Procedure
Results
Note:
- If you define multiple LDAP servers, API Gateway searches the LDAP directories in the order in which they are displayed in the User Management > LDAP directories section. If API Gateway does not find the user in in the first LDAP directory, it searches in order through the list.
- If the connection between API Gateway and the LDAP server drops
intermittently, and you notice the following exception in the Trace logs,
connect to the Global Catalog port (3268/3269) on the LDAP server, instead of
using the standard LDAP port (389). For example,
ldap://hostname:3268
PartialResultException in the trace logs : [ISS.0002.0000T] [LDAPv2] javax.naming.PartialResultException [Root exception is javax.naming.CommunicationException: [Root exception is java.net.SocketTimeoutException: connect timed out]]
- If the connection issues continue despite using the Global
Catalog port (3268/3269), it may be due to the following errors:
- Connection timeout error
- Communication error
- Resource shortage error
- An orphaned domain acts as the Global Catalog
Set appropriate values for the watt.server.ldap.retryCount and watt.server.ldap.retryWait parameters to restore the connection in case of transient errors.
Next Steps:
You can perform the following operations in the LDAP directories
section where the configured LDAP directories are listed.
- You can update an LDAP directory by clicking on the LDAP directory URL field in the table, modify the details as required and save the changes.
- You can prioritize the LDAP directory as required by clicking in the Prioritize column for the corresponding LDAP directory.
- You can delete an LDAP
directory by clicking the
icon in the Delete column for the corresponding LDAP directory.