• Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Blocker Blocker
    • ldap-plugin
    • None

      Unable to connect over LDAP, the configuration is good because on another server is working. this servers is [Jenkins 2.303.2.

      2021-11-03 23:50:12.563+0000 [id=17] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID d69ca5b2-33f7-4995-beb2-d391cca9d3d7
      javax.naming.directory.InvalidSearchFilterException: Missing 'equals'; remaining name ''
       at java.naming/com.sun.jndi.ldap.Filter.encodeSimpleFilter(Filter.java:330)
       at java.naming/com.sun.jndi.ldap.Filter.encodeFilter(Filter.java:171)
       at java.naming/com.sun.jndi.ldap.Filter.encodeFilterString(Filter.java:74)
       at java.naming/com.sun.jndi.ldap.LdapClient.search(LdapClient.java:547)
       at java.naming/com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:2014)
       at java.naming/com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1873)
       at java.naming/com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1798)
       at java.naming/com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:392)
       at java.naming/com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:358)
       at java.naming/com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:341)
       at java.naming/javax.naming.directory.InitialDirContext.search(InitialDirContext.java:267)
       at org.springframework.ldap.core.LdapTemplate$4.executeSearch(LdapTemplate.java:322)
       at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:363)
      Caused: org.springframework.ldap.InvalidSearchFilterException: Missing 'equals'; nested exception is javax.naming.directory.InvalidSearchFilterException: Missing 'equals'; remaining name ''
       at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:143)
      

          [JENKINS-67049] Unable to connect over LDAP

          Albin Öhrn added a comment -

          Any updates regarding this? We’re facing similar issue after upgrading to the latest Jenkins version (2.332)

          Albin Öhrn added a comment - Any updates regarding this? We’re facing similar issue after upgrading to the latest Jenkins version (2.332)

          Axel Heider added a comment -

          Please fix this.

          Axel Heider added a comment - Please fix this.

          Alex Earl added a comment -

          Can you share some additional configuration information? 

          Alex Earl added a comment - Can you share some additional configuration information? 

          James Nord added a comment -

          > Unable to connect over LDAP, the configuration is good because on another server is working.

          Just because the other client works does not mean there server and config is good. It can also means the other client tolerates the bad behaviour.

          Closing as no extra info provided

          James Nord added a comment - > Unable to connect over LDAP, the configuration is good because on another server is working. Just because the other client works does not mean there server and config is good. It can also means the other client tolerates the bad behaviour. Closing as no extra info provided

            Unassigned Unassigned
            rubenzsolt Major Ruben Zsolt
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: