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

Distribution group can no longer be used in matrix based security

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Active directory is the windows Active directory of Windows Small Business Server 2008.

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

          [JENKINS-11668] Distribution group can no longer be used in matrix based security

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

          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?

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

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

          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 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/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

          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 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.

          Rick Oosterholt added a comment - Works like a charm! thanks a lot.

          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 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.

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

          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!

          Youssuf ElKalay added a comment - Confirmed that v1.24 of the plugin resolves this issue. Thanks!

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

              Created:
              Updated:
              Resolved: