diff --git a/apps/jumpserver/conf.py b/apps/jumpserver/conf.py index 6664bd65d..107c8889e 100644 --- a/apps/jumpserver/conf.py +++ b/apps/jumpserver/conf.py @@ -163,7 +163,7 @@ class Config(dict): 'AUTH_LDAP_SEARCH_FILTER': '(cn=%(user)s)', 'AUTH_LDAP_START_TLS': False, 'AUTH_LDAP_USER_ATTR_MAP': {"username": "cn", "name": "sn", "email": "mail"}, - 'AUTH_LDAP_CONNECT_TIMEOUT': 30, + 'AUTH_LDAP_CONNECT_TIMEOUT': 10, 'AUTH_LDAP_SEARCH_PAGED_SIZE': 1000, 'AUTH_LDAP_SYNC_IS_PERIODIC': False, 'AUTH_LDAP_SYNC_INTERVAL': None,