Jenkins LDAP authentication configuration __ldap

Source: Internet
Author: User
Tags ldap

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.