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
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue