GitLab 集成 LDAP的困惑

倚小丁 发布于 2014/05/09 18:04
阅读 5K+
收藏 0

有没有哪位同学有过类似的经验啊。集成LDAP的登陆。

我们的环境大概是这样的。域用户为 8888@dms.xxx.com

# These settings are documented in more detail at
# https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/gitlab.yml.example#L118
gitlab_rails['ldap_enabled'] = true
gitlab_rails['ldap_host'] = '10.0.24.49'
gitlab_rails['ldap_port'] = 389
gitlab_rails['ldap_uid'] = 'sAMAccountName' #
gitlab_rails['ldap_method'] = 'plain' # 'ssl' or 'plain'
#gitlab_rails['ldap_bind_dn'] = 'CN=query user,CN=Users,DC=mycorp,DC=com'
gitlab_rails['ldap_bind_dn'] = 'DC=dms,DC=xxxx,DC=com'
gitlab_rails['ldap_password'] = 'password'
gitlab_rails['ldap_allow_username_or_email_login'] = false
gitlab_rails['ldap_base'] = 'DC=dms,DC=xxxx,DC=com'

现在对那个ldap_password,ldap_bind_dn比较困惑。应该填写什么内容。

返回顶部
顶部