当前位置:网站首页>Jenkins access openldap user authentication

Jenkins access openldap user authentication

2022-06-13 09:19:00 IChen.

Administrator login –> Global security configuration

ldap

Server:x.x.x.x:389  ( You don't need to bring ldap://)
root DN: empty 
User search base:dc=xx,dc=xx(# Own openldap The settings are the same )
User search filter:uid={0} (# This is the default value )
Group search base:dc=xx,dc=xx(# Own openldap The settings are the same )
Group search filter: empty 
Group membership:Search for LDAP groups containing user Group membership filter( If the value is empty )
Manager DN:cn=admin,dc=xx,dc=xx
Manager Password:xxxx( Administrator's password )
Display Name LDAP attribute:uid
Email Address LDAP attribute:mail

 Insert picture description here
Click verify after setting , The verification information is as follows

Login

Authentication: successful

User ID: wanyanzj

User Dn: cn=wanyanzj,ou=People,dc=xx,dc=xx

User Display Name: wanyanzj

User email: [email protected].xx

jenkins
Lookup

User lookup: successful

User groups consistent (login and lookup)

LDAP Group lookup: successful (2 groups)

 Insert picture description here

原网站

版权声明
本文为[IChen.]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/164/202206130918452226.html