mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 11:57:37 -02:30
enforce a sane default OPT_NETWORK_TIMEOUT for LDAP connections
see: #5208
This commit is contained in:
@@ -304,6 +304,7 @@ AUTH_LDAP_SERVER_URI = None
|
||||
# Note: This setting may be overridden by database settings.
|
||||
AUTH_LDAP_CONNECTION_OPTIONS = {
|
||||
ldap.OPT_REFERRALS: 0,
|
||||
ldap.OPT_NETWORK_TIMEOUT: 30
|
||||
}
|
||||
|
||||
# Radius server settings (default to empty string to skip using Radius auth).
|
||||
|
||||
Reference in New Issue
Block a user