At the moment the timeout for LDAP operations are hardcoded to 5 sec (bind), 10 sec (connect, request), causing failures in case of peaks of calls and slow LDAP server.
These timeouts needs to be configurable on an LDAP Server basis as you may want to graceful fail to other servers in the list, based on their response time.
Example config (connect=30s, bind=15s, request=20s):
At the moment the timeout for LDAP operations are hardcoded to 5 sec (bind), 10 sec (connect, request), causing failures in case of peaks of calls and slow LDAP server.
These timeouts needs to be configurable on an LDAP Server basis as you may want to graceful fail to other servers in the list, based on their response time.
Example config (connect=30s, bind=15s, request=20s):