Jenkins configuration LDAP can achieve the user's unified management without the need to create users again, if the user needs to operate permissions, then add permissions in the Configure Global security, add the completed only enter the LDAP account password can log in
Here is a list of certified maps:
Jenkins configuration LDAP requires an LDAP plug-in to be installed, if it cannot be found in the Jenkins panel
Download from the official website: https://wiki.jenkins-ci.org/display/JENKINS/LDAP+Plugin
Required Plug-ins (includes dependent plug-ins): Structs.hpi junit.hpi display-url-api.hpi mailer.hpi LDAP.HPI
OK, ready to start configuring Jenkins to implement LDAP user authentication
First, add Plug-ins in the Jenkins panel
(If the Jenkins itself, there is no need to upload, if Jenkins can download, see the specific situation, my side download slower, so all choose to upload manually)
System Management-> Management plugin-> advanced-> Find upload Plugin
The following diagram in the plug-in sequence is dependent from top to bottom, so the upload order is the reverse, you can see from the figure below, structs plug-ins in my second upload when prompted: Structs plugin is already installed
System Management-> Configure Global Security
Click to enable security, and choose LDAP Authentication, here is a point to emphasize, must remember to open the anonymous user admin permissions, or LDAP configuration incorrectly saved after the login can not log into the Jenkins Oh, after the configuration is completed click Save
Third, login via LDAP user Jenkins
The following figure shows the successful login user name: wanglei@xxx.com
Iv. Adding permissions to Users
After the LDAP authentication, to add permissions to the user is particularly convenient, as long as you know the user name, do not need to create users to add the appropriate permissions, remember to add admin permissions after the account to remove the anonymous user's admin rights