Maybe you have too many users in LDAP? Can you narrow down the search and see if you have the same issue?
On Monday, 20 January 2020 22:29:34 UTC, gaurav gundal wrote: > > Hi Everyone, > > > I am trying to configure Jenkins with the ldap,but I am getting error as > mentioned below . Please let me know if you know about below error > > > > > *Ldap Integration with the Jenkins * > > > > Below are the Jenkins Setup details > > Jenkins Version - Jenkins ver. 2.204.1 <https://jenkins.io/> > > Jenkins Ldap plugin – 1.21 > > > > *LdapSearch from the Jenkins Master * > > ldapsearch -x -h xxx -p 389 -D "CN=xx,OU=bb,OU=aa,DC=qq,DC=pp,DC=com" -b > "OU= aa,DC= qq,DC=pp,DC=com" "(sAMAccountName=xxxxxx)" > > *Result stripped out -- Succesful* > > Search: 2 > > Result: 0 Success > > # numResponses: 2 > > # numEntries: 1 > > > > > > So I configured the Ldap through Jenkins UI > > With below details > > *Test 1* : > > Server : xxx:389 > > rootDn: DC= qq,DC=pp,DC=com > > ManagerDn: CN=xx,OU=bb,OU=aa,DC=qq,DC=pp,DC=com > > Manager Password : xxxxx > > Error : > > LdapCallback;LDAP response read timed out, timeout used:60000ms.; nested > exception is javax.naming.NamingException: LDAP response read timed out, > timeout used:60000ms.; remaining name > > User lookup: failed for user "xx" > > > > *Test 2* : > > Server : xxx:389 > > rootDn: DC= qq,DC=pp,DC=com > > ManagerDn: CN=xx,OU=bb,OU=aa,DC=qq,DC=pp,DC=com > > Manager Password : xxxxx > > Environment Properties: com.sun.jndi.ldap.connect.pool - > false > > > > *Error*: > > LdapCallback;LDAP response read timed out, timeout used:60000ms.; nested > exception is javax.naming.NamingException: LDAP response read timed out, > timeout used:60000ms.; remaining name > > User lookup: failed for user "xx" > > > > *Test 3* > > Server : xxx:389 > > rootDn: DC= qq,DC=pp,DC=com > > ManagerDn: CN=xx,OU=bb,OU=aa,DC=qq,DC=pp,DC=com > > Manager Password : xxxxx > > Environment Properties: com.sun.jndi.ldap.connect.pool - > false > > Group membership : Parser user attribute for list of LDAP > groups > > > > *Error*: Same error > > > > > -- 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/bf1388db-2eb4-4bf8-bcb0-68ecf9e3c233%40googlegroups.com.
