I'm also facing the exact same problem. We don't have that many users, less than 100. Just posted another question to the list.

My story is authentication works fine when Jenkins starts and after sometime no one can login. Only solution is to restart tomcat.

Regards,

Niranjan
On 1/21/20 12:52 AM, Alex wrote:
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 jenkinsci-users+unsubscr...@googlegroups.com <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bf1388db-2eb4-4bf8-bcb0-68ecf9e3c233%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/bf1388db-2eb4-4bf8-bcb0-68ecf9e3c233%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/cd27007e-7f7b-ea8c-0398-7c209a6be20c%40gmail.com.

Reply via email to