Step To Configure AD Authentication With Jenkins On Linux

Step To Configure AD Authentication with Jenkins. It’s a good idea to have a user authenticate by LDAP Server. We can configure LDAP or active directory authentication with Jenkins using the plugin.

Step To Configure AD Authentication With Jenkins :

By default, It’s not installed. Once you have integrated with AD, only those users can log in to Jenkins Server. you only have to install a plugin for AD authentication with Jenkins.

Check Out: How To Install Docker Plugin In Jenkins For Automation

So Click on Manage Plugins

step to configure AD

Then look for Active Directory Plugin.

Click on Download now and install after restart

Check Out: How To Create Pipeline For Maven Project In Jenkins

Now Click on Manage Jenkins –> Configure Global Security and then check Active Directory

you need to fill your AD Server details here, I have locally installed AD Server. So I will have to make an entry in hosts file on both Jenkins and AD server.

authentication with jenkins

After these entries, now configure AD.

jenkins authentication with ad

Bind DN = any user you created in AD

Bind Password = password of user created.

You can also test connectivity between your Jenkins and AD Server by clicking on Test Domain.

Check Out: How To Update Jenkins Version Using rpm In Linux

it’s time to test whether I’m able to login with the user “Pankaj” in Jenkins.

jenkins ldap authentication

See here, I’m login in with the user “Pankaj” and it’s working perfectly.

configure active directory jenkins

YouTube Link:

You’re done. Jenkins ldap authentication active directory configure

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment