[Jenkins-infra] Jenkins-LDAP authentication - slow while loging in

Anand Sudabattula anand.sudabattula at gmail.com
Fri Jun 14 23:18:16 UTC 2013


I am testing Jenkins with  ldap for authenticating users. No issues its
working but only problem is that the logging into Jenkins using ldap
credentials is taking from 2 to 3 minutes.  Through logs we found that
 user search does not take any time but the system is taking 2-3 mins while
doing group search but we don't  maintain any groups for the users that we

Following have been tried with no luck:

a) As per suggested on Jenkins site, have tried changing groupSearchFilter
= "(member={0})" in file: LDAPBindSecurityRealm.groovy  but no improvement
found the logging time.
b) Changing root DN did not help

My env:
1) RHEL 6.x 64-bit
2) Jenkins 1.517 on Tomcat 7.0.29
3) Sun Directory Server 6.x
4) Currently we are using Jenkins user database but eventually would want
to use ldap authentication

Appreciate if could help resolve this problem.

Anand Sudabattula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jenkins-ci.org/pipermail/jenkins-infra/attachments/20130614/550069ac/attachment.html>

More information about the Jenkins-infra mailing list