set ldap3 client_strategy from sync to sync-restartable; in order to avoid error 32 broken pipe caused by time out
This commit is contained in:
parent
7e0bf93505
commit
f4ece7f1f2
|
@ -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