Active Directory/LDAP 配置
配置信息位于 conf/app.conf 中:
################Active Directory/LDAP#################是否启用 ldapldap_enable=false#ldap 主机名ldap_host=ad.example.com#ldap 端口ldap_port=3268#ldap 内哪个属性作为用户名ldap_attribute=sAMAccountName#搜索范围ldap_base=DC=example,DC=com#第一次绑定 ldap 用户 dnldap_user=CN=ldap helper,OU=example.com,DC=example,DC=com#第一次绑定 ldap 用户密码ldap_password=superSecret#自动注册用户角色:0 超级管理员 /1 管理员/ 2 普通用户ldap_user_role=2
