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):

ldap://ldap1.company.com:389 ldap://ldap2.company.com:389


From: Kanstantsin Shautsou 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, July 7, 2015 at 7:38 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: Ashish Yadav <[email protected]<mailto:[email protected]>>
Subject: Re: multiple LDAP connections

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.
On Monday, July 6, 2015 at 9:47:27 PM UTC+3, Ashish Yadav wrote:
How do I configure jenkins to connect to multiple ldaps?

Example:
ldap://ldap1.company.com:389
ldap://ldap2.company.com:389

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

-- 
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 [email protected].
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 via email to