安哥网络 发表于 2016-3-10 18:21:37

redmine 微软ldap验证配置

redmine 微软ldap验证配置
CN, OU, DC 都是 LDAP 连接服务器的端字符串中的区别名称(DN, distinguished   name)
LDAP连接服务器的连接字串格式为:ldap://servername/DN
其中DN有三个属性,分别是CN,OU,DC
LDAP是一种通讯协议,如同HTTP是一种协议一样的!
在 LDAP 目录中,
[*]DC (Domain Component)
[*]CN (Common Name)
[*]OU (Organizational Unit)
例如:CN=test,OU=developer,DC=domainname,DC=com
在上面的代码中 cn=test 可能代表一个用户名,ou=developer 代表一个 active directory 中的组织单位。这句话的含义可能就是说明 test 这个对象处在domainname.com 域的 developer 组织单元中先上我已经测试通过的图Here is an typical example using Active Directory:

1
2
3
4
5
6
7
8
9
10
11
12
13
14

Name   = My Directory
Host   = host.domain.org
Port   = 389
LDAPS    = no
Account= MyDomainUserName (or UserName@MyDomain depending on AD server)
Password = <password>
Base DN= CN=users,DC=host,DC=domain,DC=org

On-the-fly user creation = yes
Attributes
Login   = sAMAccountName
Firstname = givenName
Lastname= sN
Email   = mail




Here is another example for Active Directory with a compartmentalized intranet:











Shell



1
2
3
4
5
6
7
8
9
10
11
12
13
14

Name   = Just a description for the auth modes page
Host   = DepartmentName.OrganizationName.local
Port   = 389
LDAPS    = no
Account= DepartmentNameUserName (or UserName@MyDomain depending on AD server or bind DN uid=Manager,cn=users,dc=MyDomain,dc=com)
Password = <password>
Base DN= DC=DepartmentName,DC=OrganizationName,DC=local

On-the-fly user creation = yes
Attributes
Login   = sAMAccountName
Firstname = givenName
Lastname= sN
Email   = mail





相关文章:
[*]redmine配置openldap认证
[*]Centos6安装gitlab+ldap认证
[*]Centos6 yum安装openldap+phpldapadmin+TLS+双主配置
http://54im.com/redmine/redmine-ldap%E9%AA%8C%E8%AF%81.html
redmine 微软ldap验证配置
页: [1]
查看完整版本: redmine 微软ldap验证配置