mirror of https://github.com/jumpserver/jumpserver
Merge pull request #3388 from jumpserver/dev_bai
[Update] 优化 config_example.py 中 AUTH_LDAP 配置项pull/3389/head
commit
f6d2ac9b7b
|
@ -73,10 +73,13 @@ REDIS_PORT: 6379
|
|||
# RADIUS_SECRET:
|
||||
|
||||
# LDAP/AD settings
|
||||
# LDAP 搜索分页数量
|
||||
# AUTH_LDAP_SEARCH_PAGED_SIZE: 1000
|
||||
#
|
||||
# 定时同步用户
|
||||
# 启用/禁用
|
||||
# 启用 / 禁用
|
||||
# AUTH_LDAP_SYNC_IS_PERIODIC: True
|
||||
# 单位: 时
|
||||
# 同步间隔 (单位: 时) (优先)
|
||||
# AUTH_LDAP_SYNC_INTERVAL: 12
|
||||
# Crontab 表达式
|
||||
# AUTH_LDAP_SYNC_CRONTAB: * 6 * * *
|
||||
|
@ -84,7 +87,7 @@ REDIS_PORT: 6379
|
|||
# LDAP 用户登录时仅允许在用户列表中的用户执行 LDAP Server 认证
|
||||
# AUTH_LDAP_USER_LOGIN_ONLY_IN_USERS: False
|
||||
#
|
||||
# LDAP 认证时如果出现以下信息将参数设置为 0 (详情参见:https://www.python-ldap.org/en/latest/faq.html)
|
||||
# LDAP 认证时如果日志中出现以下信息将参数设置为 0 (详情参见:https://www.python-ldap.org/en/latest/faq.html)
|
||||
# In order to perform this operation a successful bind must be completed on the connection
|
||||
# AUTH_LDAP_OPTIONS_OPT_REFERRALS: -1
|
||||
|
||||
|
|
Loading…
Reference in New Issue