gitlab,ldap新用户无法登陆,报错 Could not authenticate you from Ldapmain because “Undefined method `provider‘
gitlab,ldap新用户无法登陆,报错 Could not authenticate you from Ldapmain because "Undefined method `provider'
·
查看/var/log/gitlab/gitlab-rails/application.log日志,报错如下:
2022-06-16T07:31:57.865Z: (LDAP) Error saving user cn=wangsan,ou=zmjkf,dc=zmjkf,dc=cn (123847567@qq.com): ["Email is not allowed for sign-up. Please use your regular email address. Check with your administrator."
需要在设置-通用里-注册设置里将新用户邮箱的后缀加上,如*qq.com,*dingtalk.com
添加完成后即可通过LDAP进行登录。
更多推荐
已为社区贡献1条内容
所有评论(0)