








#检测域控地址ping youad.com指向的IP
#如果不是实际域控ip地址,则修改hosts
vi /etc/hosts
#192.168.100.100替换为实际域控ip
192.168.100.100 youad.com
系统管理 --> 全局安全配置
#Active Directory配置
Domain Name:youad.com
Domain controller:192.168.100.100:389
Bind DN:CN=xxx,OU=xxx,DC=youad,DC=com
Bind Password:pwd

#LDAP方式
Server:ldap://192.168.100.100:389
root DN:DC=youad,DC=com
User search filter:sAMAccountName={0}
#勾选 Search for LDAP groups containing user
Manager DN:CN=xxx,OU=xxx,DC=youad,DC=com
Manager Password:pwd


使用AD认证方式前把/var/lib/jenkins/config.xml配置文件备份,以免AD域出现问题时替换回非AD验证方式登录。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。