mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Fixes an inconsistency bug in which `LdapSession`s built by `LdapUserSearchSessionFactory` are different if the factory is configured to use a connection pool or not. The bind status of the connection, or the connection(s) from the pool, passed through to the newly minted `LdapSession` are now identical. Connections are bind to the bind_dn configuration entry in the realm config. Original commit: elastic/x-pack-elasticsearch@094af063ea