允许用户名中出现点号。

修改ldap登录的filter为可以配置。
This commit is contained in:
gefire
2017-06-13 18:02:50 +08:00
parent e7f8702c91
commit 3b4ac00943
3 changed files with 7 additions and 2 deletions

View File

@@ -94,6 +94,8 @@ ldap_user=CN=ldap helper,OU=example.com,DC=example,DC=com
ldap_password=superSecret
#自动注册用户角色0 超级管理员 /1 管理员/ 2 普通用户
ldap_user_role=2
#ldap搜索filter规则,AD服务器: objectClass=User, openldap服务器: objectClass=posixAccount ,也可以定义为其他属性,如: title=mindoc
ldap_filter=objectClass=posixAccount