mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-28 11:25:42 +00:00
[Update] 优化 config_example.py 中 AUTH_LDAP 配置项
This commit is contained in:
parent
4167987d67
commit
98a8ef1526
@ -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
Block a user