使用之前配置GitLab时,创建的账号密码
AD域名:bj.china.local
配置绑定账号:GitLab/[email protected](此账号需要在AD域中实际存在)
账号路径:bj.china.local/users(cn=users,dc=bj,dc=china,dc=local)
ldap://bj.china.local:389
cn=GitLab,cn=users,dc=bj,dc=china,dc=local:[email protected]
cn=users,dc=bj,dc=china,dc=local
sAMAccountName
修改User Authentication 下的user_verify_class ,将LDAP上移至DB下方。
说明:
1、将LDAP上移至第一位,登录初始配置的管理员账号会报错;
解决办法:修改/var/www/html/bugzilla/data/params.json中倒数第八行"user_verify_class" : “DB,LDAP”。
2、将DB移至active下方时,将关闭用户注册功能。