multiple LDAP connections

66 views
Skip to first unread message

Ashish Yadav

unread,
Jul 6, 2015, 2:47:27 PM7/6/15
to jenkins...@googlegroups.com
How do I configure jenkins to connect to multiple ldaps?

Example: 

In case there is an issue with ldap1. I want jenkins to use ldap2 automatically.
 

Kanstantsin Shautsou

unread,
Jul 7, 2015, 8:38:52 AM7/7/15
to jenkins...@googlegroups.com, ashish...@firemon.com
Currently jenkins doesn't support failovers https://issues.jenkins-ci.org/browse/JENKINS-15063
Also note that current security library is outdated and implementing something using is maybe a waste of time.
There is existed issue for it https://issues.jenkins-ci.org/browse/JENKINS-5303 and @ndeloof even created branch in jenkins repo https://github.com/jenkinsci/jenkins/commits/spring-security but didn't end it.

In case of ldap you can try implement failover in ldap-plugin. 

Ashish Yadav

unread,
Jul 7, 2015, 8:52:54 AM7/7/15
to Kanstantsin Shautsou, jenkins...@googlegroups.com
I do have the LDAP plugin installed. In the comments it states: 

"Specify the name of the LDAP server host name(s) (like ldap.sun.com). If your LDAP server uses a port other than 389 (which is the standard for LDAP), you can also append a port number here, like ldap.acme.org:1389.
Where there are multiple redundant servers separate them by spaces, if the first named server is not available then requests will be attempted by each of the named servers in order. NOTE: This is to support LDAP server fail-over, once an any answer has been received from a server, that answer is taken as definitive"

Just confirming if this is accurate and what the syntax should be. Therefore, should I enter the LDAP as (with a space):

Stephen Connolly

unread,
Jul 7, 2015, 9:11:49 AM7/7/15
to jenkins...@googlegroups.com, Kanstantsin Shautsou
that is my understanding

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/D1C134A2.F874%25ashish.yadav%40firemon.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages