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".
#2 Updated by Benjamin Dauvergne almost 4 years ago
- % Done changed from 0 to 100
- Status changed from Nouveau to Résolu (à déployer)
Appliqué par commit authentic2|0e9f94cd6d45b2ef5fe9680ae948e71c74a1e272.