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

Active Directory Retreive User email address 500 error

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Fixed
    • Windows Server 2003 x64 Edition
      Jenkins 1.437
      Active Directory Plugin 1.21

    Description

      When attempting to login to Jenkins with a valid user, the following exception is displayed, and the user is unable to login. Upon looking through the stacktrace, it seems to possibly involve the emailAddress. The domain in question is a development domain, so email addresses may not be a part of the user's AD record, but I cannot confirm at this time (don't know how, will update issue if I can find out). Confirmed with multiple users.

      Exception
      Status Code: 500
      Exception:
      Stacktrace:
      
      com4j.ComException: 8000500d (Unknown error) : .\invoke.cpp:460
      	at com4j.Wrapper.invoke(Wrapper.java:122)
      	at $Proxy43.emailAddress(Unknown Source)
      	at hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider.retrieveUser(ActiveDirectoryAuthenticationProvider.java:97)
      	at org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:119)
      	at org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:195)
      	at org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:45)
      	at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:71)
      	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:61)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: com4j.ComException: 8000500d (Unknown error) : .\invoke.cpp:460
      	at com4j.Native.invoke(Native Method)
      	at com4j.StandardComMethod.invoke(StandardComMethod.java:95)
      	at com4j.Wrapper$InvocationThunk.call(Wrapper.java:258)
      	at com4j.Task.invoke(Task.java:44)
      	at com4j.ComThread.run0(ComThread.java:149)
      	at com4j.ComThread.run(ComThread.java:125)
      

      Attachments

        Issue Links

          Activity

            ezeltmann Eric Zeltmann created issue -
            ezeltmann Eric Zeltmann made changes -
            Field Original Value New Value
            Environment Windows Server 2003 x64 Edition
            Jenkins 1.437
            Active Directory Plugin
            Windows Server 2003 x64 Edition
            Jenkins 1.437
            Active Directory Plugin 1.21
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            kohsuke Kohsuke Kawaguchi made changes -
            Link This issue is duplicated by JENKINS-11631 [ JENKINS-11631 ]
            evernat evernat made changes -
            Link This issue is duplicated by JENKINS-10084 [ JENKINS-10084 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 141903 ] JNJira + In-Review [ 189869 ]

            People

              Unassigned Unassigned
              ezeltmann Eric Zeltmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: