X
28Apr

LDAP Integration with Jenkins

In this document, we are going to see the integration process of LDAP and Jenkins. The default installation of Jenkins server uses internal user database which doesn’t work for large development and operations teams. You need to manually create each user.

If you want to access the Jenkins with LDAP credentials (i.e. with Active Directory Credentials), we need to install the LDAP plugin in Jenkins. Jenkins has a native LDAP plugin which can be used to authenticate users against an external LDAP server, such as OpenLDAP etc. So, please make sure to install LDAP plugin in Jenkins before configuring the setup.

12

Steps: -

 

The following are the steps to configure the LDAP – Jenkins setup.

 

  1. In order to configure the LDAP – Jenkins setup, some parameter values are needed and need to be filled in. But before that, we need to login into Jenkins server as admin user and navigate to ‘Jenkins > Configure Global Security “.

13

2.  Select ‘LDAP’ under ‘Access Control’ and then enter the LDAP server details and press ‘Save’ button. Please fill out the parameters by providing the details of the image below.

 

14

3. Test the connection establishment after configuring LDAP by pressing the ‘Test LDAP settings’ button.

 

4. After the connection is established, basic authentication will be available. Users can then login using their directory credentials from Jenkins login page.

 

 

Conclusion: -

We should have configured Jenkins server successfully to aaaauthenticate user via LDAP Server. Please notice that we can not sign in with Jenkins database users once LDAP authentication is enabled because Jenkins local internal user database is disabled. Both cannot coexist, for some reason.

Related

LDAP Integration with Sonatype Nexus

Sonatype Nexus supports the Repository Manager integration with various active directory systems for...

Read More >

LDAP Integration with SonarQube

If you want to access the SonarQube server with LDAP credentials (i.e. with Active Directory Credent...

Read More >

LDAP Integration with Gitlab

If any organization has an LDAP directory service such as Active Directory, then GitLab can be confi...

Read More >

Share

Post a Comment

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Text/HTML
Text/HTML
Contact Us
  • *
  • *