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

Distribution group can no longer be used in matrix based security

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • Active directory is the windows Active directory of Windows Small Business Server 2008.

    Description

      Since version 1.21 'Distribution Groups' are no longer recognized.
      They can no longer be used in the matrix based security configuration.

      Attachments

        Issue Links

          Activity

            ricktw Rick Oosterholt created issue -

            Can you follow the "trouble-shooting" section of https://wiki.jenkins-ci.org/display/JENKINS/Active+Directory+plugin and report the logs?

            kohsuke Kohsuke Kawaguchi added a comment - Can you follow the "trouble-shooting" section of https://wiki.jenkins-ci.org/display/JENKINS/Active+Directory+plugin and report the logs?
            ricktw Rick Oosterholt made changes -
            Field Original Value New Value
            Attachment log output.txt [ 21037 ]

            Attached the log, just let me know if you need any more information...

            ricktw Rick Oosterholt added a comment - Attached the log, just let me know if you need any more information...
            ragesh_nair ragesh_nair added a comment -

            We also having issues after upgrading from 1.18 to 1.22.
            We are in tomcat and Activedirectory works fine for groups if I downgrade the plugin to 1.18.

            ragesh_nair ragesh_nair added a comment - We also having issues after upgrading from 1.18 to 1.22. We are in tomcat and Activedirectory works fine for groups if I downgrade the plugin to 1.18.

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            src/main/java/hudson/plugins/active_directory/ActiveDirectoryUnixAuthenticationProvider.java
            http://jenkins-ci.org/commit/active-directory-plugin/d46a2a0ec9286cdd68750ce702521787591ecabc
            Log:
            [FIXED JENKINS-11668] Turns out tokenGroups attribute doesn't pick up distribution groups.

            I couldn't find authoritative info from Microsoft on this, but the experiment confirms it, and there are a few mention of that on the internet:

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: src/main/java/hudson/plugins/active_directory/ActiveDirectoryUnixAuthenticationProvider.java http://jenkins-ci.org/commit/active-directory-plugin/d46a2a0ec9286cdd68750ce702521787591ecabc Log: [FIXED JENKINS-11668] Turns out tokenGroups attribute doesn't pick up distribution groups. I couldn't find authoritative info from Microsoft on this, but the experiment confirms it, and there are a few mention of that on the internet: http://forums.asp.net/post/1288342.aspx http://www.rlmueller.net/Programs/UsersGroups.txt
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            dogfood dogfood added a comment -

            Integrated in plugins_active-directory #48
            [FIXED JENKINS-11668] Turns out tokenGroups attribute doesn't pick up distribution groups.

            Kohsuke Kawaguchi :
            Files :

            • src/main/java/hudson/plugins/active_directory/ActiveDirectoryUnixAuthenticationProvider.java
            dogfood dogfood added a comment - Integrated in plugins_active-directory #48 [FIXED JENKINS-11668] Turns out tokenGroups attribute doesn't pick up distribution groups. Kohsuke Kawaguchi : Files : src/main/java/hudson/plugins/active_directory/ActiveDirectoryUnixAuthenticationProvider.java

            Works like a charm!
            thanks a lot.

            ricktw Rick Oosterholt added a comment - Works like a charm! thanks a lot.
            ragesh_nair ragesh_nair made changes -
            Attachment ActiveDir-Exception.txt [ 21200 ]
            ragesh_nair ragesh_nair added a comment -

            I upgraded to 1.23 today and getting same error as earlier. I am in LTS 1.424.1. Attached exception found in log.

            ragesh_nair ragesh_nair added a comment - I upgraded to 1.23 today and getting same error as earlier. I am in LTS 1.424.1. Attached exception found in log.
            kohsuke Kohsuke Kawaguchi made changes -
            Link This issue is duplicated by JENKINS-12274 [ JENKINS-12274 ]

            +1 for ragesh_nair comments. I am also getting the same exception running against Windows 2008 Server RC2.

            buildscientist Youssuf ElKalay added a comment - +1 for ragesh_nair comments. I am also getting the same exception running against Windows 2008 Server RC2.

            Confirmed that v1.24 of the plugin resolves this issue. Thanks!

            buildscientist Youssuf ElKalay added a comment - Confirmed that v1.24 of the plugin resolves this issue. Thanks!
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 141911 ] JNJira + In-Review [ 189873 ]

            People

              Unassigned Unassigned
              ricktw Rick Oosterholt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: