我设置了一个gitlab服务器并希望将它连接到我们的AD
如果我将配置的base
设置为AD用户,它可以正常工作,该用户可以通过LDAP登录
如果我将base
设置为AD组,以便所有用户都可以登录,则不起作用
我收到以下错误:
Could not authorize you from Ldapmain because "Invalid credentials".
gitlab-rake gitlab:ldap:check
返回:
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rouge-1.9.1/lib/roug/lexers/shell.rb:20: warning: already initialized constant Rouge::Lexers::Shell::KEYWORDS
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rouge-1.9.1/libroug/lexers/shell.rb:20: warning: previous definition of KEYWORDS was here/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: already initialized constant Rouge::Lexers::Shell::BUILTINS
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: previous definition of BUILTINS was here
Checking LDAP ...
LDAP users with access to your GitLab server (only showing the first 100 results)
Server: ldapmain
DN: CN=XXX,OU=Security Groups,OU=MyBusiness,DC=XXX,DC=local sAMAccountName: XXX
Checking LDAP ... Finished
为什么它不能与团队合作?