Merge pull request #43 from AIJIJI/master
set ldap3 client_strategy from sync to sync-restartable. fix #42
This commit is contained in:
commit
bf44b4f305
@ -277,6 +277,7 @@ class LdapAuthUser(DBAuthUser): # pragma: no cover
|
|||||||
settings.CAS_LDAP_SERVER,
|
settings.CAS_LDAP_SERVER,
|
||||||
settings.CAS_LDAP_USER,
|
settings.CAS_LDAP_USER,
|
||||||
settings.CAS_LDAP_PASSWORD,
|
settings.CAS_LDAP_PASSWORD,
|
||||||
|
client_strategy="RESTARTABLE",
|
||||||
auto_bind=True
|
auto_bind=True
|
||||||
)
|
)
|
||||||
cls._conn = conn
|
cls._conn = conn
|
||||||
|
Loading…
Reference in New Issue
Block a user