Step To Configure Active Directory Authentication With Jenkins 

AD Authentication with Jenkins. It’s a good idea to have a user authenticate by ldap Server. We can do this by installing the Active Directory Plugin available in Jenkins.

By default, It’s not installed. Once integrated with AD, only users who have AD account. They can login to Jenkins Server. you only need to add plugin for AD authentication with Jenkins.

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

So Click on Manage Plugins

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.

After these entries, now configure 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 user “pankaj” in Jenkins.

See here, i’m login with user “pankaj” and it’s working perfect.

YouTube Link :

You’re done.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

2 × 2 =