Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66210

javax.naming.NameNotFoundException: [LDAP: error code 32

    XMLWordPrintable

Details

    Description

      We have a problem with ldap login after update from 2.277.3 to 2.289.2

      We are using Azure AD domain LDAP

      jenkins_1 | 2021-03-25 08:39:52.637+0000 [id=13] SEVERE o.s.s.w.a.AbstractAuthenticationProcessingFilter#doFilter: An internal error occurred while trying to authenticate the user. 2
      jenkins_1 | javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 3
      jenkins_1 |      'DC=company,DC=eu' 4
      jenkins_1 | ]; remaining name '/' 5
      jenkins_1 |      at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3286) 6jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3207) 7
      jenkins_1 |      at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2998) 8jenkins_1 | at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1874) 9
      jenkins_1 |      at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1797) 10jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1814) 11
      jenkins_1 |      at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418) 12
      jenkins_1 |      at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396) 13
      jenkins_1 |      at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:297) 14
      jenkins_1 |      at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:271) 15
      jenkins_1 |      at org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForSingleEntry$3(SpringSecurityLdapTemplate.java:260) 16
      jenkins_1 |      at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817) 17
      jenkins_1 | Caused: org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 18
      jenkins_1 |      'DC=company,DC=eu' 19
      jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 20
      jenkins_1 |      'DC=company,DC=eu' 21
      jenkins_1 | ]; remaining name '/' 22
      jenkins_1 |      at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:183) 23
      jenkins_1 |      at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:820) 24
      jenkins_1 |      at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803) 25
      jenkins_1 |      at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntry(SpringSecurityLdapTemplate.java:260) 26
      jenkins_1 |      at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:100) 27
      jenkins_1 |      at org.springframework.security.ldap.authentication.BindAuthenticator.authenticate(BindAuthenticator.java:82) 28
      jenkins_1 |      at jenkins.security.plugins.ldap.BindAuthenticator2.authenticate(BindAuthenticator2.java:50) 29
      jenkins_1 |      at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:174) 30
      jenkins_1 | Caused: org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 31
      jenkins_1 |      'DC=company,DC=eu' 32
      jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 33
      jenkins_1 |      'DC=company,DC=eu' 34
      jenkins_1 | ]; remaining name '/' 35
      jenkins_1 |      at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:190)

      Attachments

        Activity

          johny2000uwb Zdenek created issue -
          johny2000uwb Zdenek made changes -
          Field Original Value New Value
          Labels LDAP ldap
          johny2000uwb Zdenek made changes -
          Description We have a problem with ldap login after update from 2.277.3 to 2.289.2

          We are using Azure AD domain LDAP


          {{jenkins_1 | 2021-03-25 08:39:52.637+0000 [id=13] SEVERE o.s.s.w.a.AbstractAuthenticationProcessingFilter#doFilter: An internal error occurred while trying to authenticate the user. 2jenkins_1 | javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 3jenkins_1 | 'DC=company,DC=eu' 4jenkins_1 | ]; remaining name '/' 5jenkins_1 | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3286) 6jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3207) 7jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2998) 8jenkins_1 | at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1874) 9jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1797) 10jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1814) 11jenkins_1 | at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418) 12jenkins_1 | at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396) 13jenkins_1 | at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:297) 14jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:271) 15jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForSingleEntry$3(SpringSecurityLdapTemplate.java:260) 16jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817) 17jenkins_1 | Caused: org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 18jenkins_1 | 'DC=company,DC=eu' 19jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 20jenkins_1 | 'DC=company,DC=eu' 21jenkins_1 | ]; remaining name '/' 22jenkins_1 | at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:183) 23jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:820) 24jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803) 25jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntry(SpringSecurityLdapTemplate.java:260) 26jenkins_1 | at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:100) 27jenkins_1 | at org.springframework.security.ldap.authentication.BindAuthenticator.authenticate(BindAuthenticator.java:82) 28jenkins_1 | at jenkins.security.plugins.ldap.BindAuthenticator2.authenticate(BindAuthenticator2.java:50) 29jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:174) 30jenkins_1 | Caused: org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 31jenkins_1 | 'DC=xdev-software,DC=de' 32jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 33jenkins_1 | 'DC=company,DC=eu' 34jenkins_1 | ]; remaining name '/' 35jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:190)}}
          We have a problem with ldap login after update from 2.277.3 to 2.289.2

          We are using Azure AD domain LDAP


          {{jenkins_1 | 2021-03-25 08:39:52.637+0000 [id=13] SEVERE o.s.s.w.a.AbstractAuthenticationProcessingFilter#doFilter: An internal error occurred while trying to authenticate the user. 2jenkins_1 | javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 3jenkins_1 | 'DC=company,DC=eu' 4jenkins_1 | ]; remaining name '/' 5jenkins_1 | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3286) 6jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3207) 7jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2998) 8jenkins_1 | at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1874) 9jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1797) 10jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1814) 11jenkins_1 | at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418) 12jenkins_1 | at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396) 13jenkins_1 | at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:297) 14jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:271) 15jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForSingleEntry$3(SpringSecurityLdapTemplate.java:260) 16jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817) 17jenkins_1 | Caused: org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 18jenkins_1 | 'DC=company,DC=eu' 19jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 20jenkins_1 | 'DC=company,DC=eu' 21jenkins_1 | ]; remaining name '/' 22jenkins_1 | at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:183) 23jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:820) 24jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803) 25jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntry(SpringSecurityLdapTemplate.java:260) 26jenkins_1 | at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:100) 27jenkins_1 | at org.springframework.security.ldap.authentication.BindAuthenticator.authenticate(BindAuthenticator.java:82) 28jenkins_1 | at jenkins.security.plugins.ldap.BindAuthenticator2.authenticate(BindAuthenticator2.java:50) 29jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:174) 30jenkins_1 | Caused: org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 31jenkins_1 | 'DC=company,DC=eu' 32jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 33jenkins_1 | 'DC=company,DC=eu' 34jenkins_1 | ]; remaining name '/' 35jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:190)}}
          johny2000uwb Zdenek made changes -
          Description We have a problem with ldap login after update from 2.277.3 to 2.289.2

          We are using Azure AD domain LDAP


          {{jenkins_1 | 2021-03-25 08:39:52.637+0000 [id=13] SEVERE o.s.s.w.a.AbstractAuthenticationProcessingFilter#doFilter: An internal error occurred while trying to authenticate the user. 2jenkins_1 | javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 3jenkins_1 | 'DC=company,DC=eu' 4jenkins_1 | ]; remaining name '/' 5jenkins_1 | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3286) 6jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3207) 7jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2998) 8jenkins_1 | at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1874) 9jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1797) 10jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1814) 11jenkins_1 | at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418) 12jenkins_1 | at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396) 13jenkins_1 | at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:297) 14jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:271) 15jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForSingleEntry$3(SpringSecurityLdapTemplate.java:260) 16jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817) 17jenkins_1 | Caused: org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 18jenkins_1 | 'DC=company,DC=eu' 19jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 20jenkins_1 | 'DC=company,DC=eu' 21jenkins_1 | ]; remaining name '/' 22jenkins_1 | at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:183) 23jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:820) 24jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803) 25jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntry(SpringSecurityLdapTemplate.java:260) 26jenkins_1 | at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:100) 27jenkins_1 | at org.springframework.security.ldap.authentication.BindAuthenticator.authenticate(BindAuthenticator.java:82) 28jenkins_1 | at jenkins.security.plugins.ldap.BindAuthenticator2.authenticate(BindAuthenticator2.java:50) 29jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:174) 30jenkins_1 | Caused: org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 31jenkins_1 | 'DC=company,DC=eu' 32jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 33jenkins_1 | 'DC=company,DC=eu' 34jenkins_1 | ]; remaining name '/' 35jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:190)}}
          We have a problem with ldap login after update from 2.277.3 to 2.289.2

          We are using Azure AD domain LDAP


          {code:java}

          jenkins_1 | 2021-03-25 08:39:52.637+0000 [id=13] SEVERE o.s.s.w.a.AbstractAuthenticationProcessingFilter#doFilter: An internal error occurred while trying to authenticate the user. 2jenkins_1 | javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 3jenkins_1 | 'DC=company,DC=eu' 4jenkins_1 | ]; remaining name '/' 5jenkins_1 | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3286) 6jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3207) 7jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2998) 8jenkins_1 | at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1874) 9jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1797) 10jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1814) 11jenkins_1 | at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418) 12jenkins_1 | at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396) 13jenkins_1 | at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:297) 14jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:271) 15jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForSingleEntry$3(SpringSecurityLdapTemplate.java:260) 16jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817) 17jenkins_1 | Caused: org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 18jenkins_1 | 'DC=company,DC=eu' 19jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 20jenkins_1 | 'DC=company,DC=eu' 21jenkins_1 | ]; remaining name '/' 22jenkins_1 | at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:183) 23jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:820) 24jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803) 25jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntry(SpringSecurityLdapTemplate.java:260) 26jenkins_1 | at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:100) 27jenkins_1 | at org.springframework.security.ldap.authentication.BindAuthenticator.authenticate(BindAuthenticator.java:82) 28jenkins_1 | at jenkins.security.plugins.ldap.BindAuthenticator2.authenticate(BindAuthenticator2.java:50) 29jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:174) 30jenkins_1 | Caused: org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 31jenkins_1 | 'DC=company,DC=eu' 32jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 33jenkins_1 | 'DC=company,DC=eu' 34jenkins_1 | ]; remaining name '/' 35jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:190)
          {code}
          johny2000uwb Zdenek made changes -
          Description We have a problem with ldap login after update from 2.277.3 to 2.289.2

          We are using Azure AD domain LDAP


          {code:java}

          jenkins_1 | 2021-03-25 08:39:52.637+0000 [id=13] SEVERE o.s.s.w.a.AbstractAuthenticationProcessingFilter#doFilter: An internal error occurred while trying to authenticate the user. 2jenkins_1 | javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 3jenkins_1 | 'DC=company,DC=eu' 4jenkins_1 | ]; remaining name '/' 5jenkins_1 | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3286) 6jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3207) 7jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2998) 8jenkins_1 | at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1874) 9jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1797) 10jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1814) 11jenkins_1 | at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418) 12jenkins_1 | at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396) 13jenkins_1 | at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:297) 14jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:271) 15jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForSingleEntry$3(SpringSecurityLdapTemplate.java:260) 16jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817) 17jenkins_1 | Caused: org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 18jenkins_1 | 'DC=company,DC=eu' 19jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 20jenkins_1 | 'DC=company,DC=eu' 21jenkins_1 | ]; remaining name '/' 22jenkins_1 | at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:183) 23jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:820) 24jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803) 25jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntry(SpringSecurityLdapTemplate.java:260) 26jenkins_1 | at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:100) 27jenkins_1 | at org.springframework.security.ldap.authentication.BindAuthenticator.authenticate(BindAuthenticator.java:82) 28jenkins_1 | at jenkins.security.plugins.ldap.BindAuthenticator2.authenticate(BindAuthenticator2.java:50) 29jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:174) 30jenkins_1 | Caused: org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 31jenkins_1 | 'DC=company,DC=eu' 32jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 33jenkins_1 | 'DC=company,DC=eu' 34jenkins_1 | ]; remaining name '/' 35jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:190)
          {code}
          We have a problem with ldap login after update from 2.277.3 to 2.289.2

          We are using Azure AD domain LDAP
          {code:java}
          jenkins_1 | 2021-03-25 08:39:52.637+0000 [id=13] SEVERE o.s.s.w.a.AbstractAuthenticationProcessingFilter#doFilter: An internal error occurred while trying to authenticate the user. 2
          jenkins_1 | javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 3
          jenkins_1 | 'DC=company,DC=eu' 4
          jenkins_1 | ]; remaining name '/' 5
          jenkins_1 | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3286) 6jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3207) 7
          jenkins_1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2998) 8jenkins_1 | at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1874) 9
          jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1797) 10jenkins_1 | at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1814) 11
          jenkins_1 | at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418) 12
          jenkins_1 | at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396) 13
          jenkins_1 | at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:297) 14
          jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:271) 15
          jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForSingleEntry$3(SpringSecurityLdapTemplate.java:260) 16
          jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817) 17
          jenkins_1 | Caused: org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 18
          jenkins_1 | 'DC=company,DC=eu' 19
          jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 20
          jenkins_1 | 'DC=company,DC=eu' 21
          jenkins_1 | ]; remaining name '/' 22
          jenkins_1 | at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:183) 23
          jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:820) 24
          jenkins_1 | at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803) 25
          jenkins_1 | at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntry(SpringSecurityLdapTemplate.java:260) 26
          jenkins_1 | at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:100) 27
          jenkins_1 | at org.springframework.security.ldap.authentication.BindAuthenticator.authenticate(BindAuthenticator.java:82) 28
          jenkins_1 | at jenkins.security.plugins.ldap.BindAuthenticator2.authenticate(BindAuthenticator2.java:50) 29
          jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:174) 30
          jenkins_1 | Caused: org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 31
          jenkins_1 | 'DC=company,DC=eu' 32
          jenkins_1 | ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of: 33
          jenkins_1 | 'DC=company,DC=eu' 34
          jenkins_1 | ]; remaining name '/' 35
          jenkins_1 | at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:190){code}

          People

            Unassigned Unassigned
            johny2000uwb Zdenek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: