Skip to content

LDAP realm client side response timeout setting #46028

@albertzaharovits

Description

@albertzaharovits

The timeout.ldap_search AD and LDAP realm settings controls the search operation timeout on the server side. The default is 5s.

But, the UnboundID library exposes a client side timeout for the response which also defaults to 5s. There is no setting to adjust this. Hence, if the administrator adjusts timeout.ldap_search and the LDAP server takes more time to process the search request, the request will nevertheless be aborted client side when the time exceeds the response time.

We should expose the response timeout setting for the LDAP connection, the same way we expose connect and read timeouts, and have it default to the timeout.ldap_search, because increasing this setting's value without adjusting the client side response timeout is pointless (hence this is a bug - increasing timeout.ldap_search is ineffectual).

Metadata

Metadata

Labels

:Security/AuthenticationLogging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)>docsGeneral docs changes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions