factorize connection building
It's done in two places in get_connection and authenticate_block. Options support is not uniform, it should be factorized. Timeout handling should be redone.
ldap: rename get_connection to get_connections, and use it in authenticate_block (fixes #8357)
LDAP connection building is now factorized, network timeout is now
properly managed. OPT_TIMEOUT is not set anymore, and OPT_TIMELIMIT
either. They still can be set using "ldap_options".
Updated by Benjamin Dauvergne over 5 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|0e9f94cd6d45b2ef5fe9680ae948e71c74a1e272.