Merge pull request #43 from AIJIJI/master

set ldap3 client_strategy from sync to sync-restartable. fix #42
This commit is contained in:
Valentin Samir 2019-01-26 13:59:36 +01:00 committed by GitHub
commit bf44b4f305
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,6 +277,7 @@ class LdapAuthUser(DBAuthUser): # pragma: no cover
settings.CAS_LDAP_SERVER,
settings.CAS_LDAP_USER,
settings.CAS_LDAP_PASSWORD,
client_strategy="RESTARTABLE",
auto_bind=True
)
cls._conn = conn