jenkinsci / jenkinsci/active-directory-plugin

[JENKINS-13750] Failed to retrieve tokenGroups

Open
#370 4 comments 0 reactions 0 assignees View on GitHub
component:active-directory-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
53
Forks
115
PR merge metrics
No merged PRs in 30d

Description

Fresh install of Jenkins through apt-get. Installed and configured the Active Directory plugin. If I add a user directly into the security matrix they can log in fine. If I add a group then when that user logs in they get a 404 error and in the jenkins.log file we see ...

May 11, 2012 8:48:05 AM hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider resolveGroups

WARNING: Failed to retrieve tokenGroups for CN=John Smith,OU=Department,OU=Company Users,DC=DomainName,DC=local

---
Originally reported by cdavoll, imported from: Failed to retrieve tokenGroups


  • status: Open
  • priority: Major
  • component(s): active-directory-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 4
  • imported: 2025-12-07

Raw content of original issue

Fresh install of Jenkins through apt-get. Installed and configured the Active Directory plugin. If I add a user directly into the security matrix they can log in fine. If I add a group then when that user logs in they get a 404 error and in the jenkins.log file we see ...

May 11, 2012 8:48:05 AM hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider resolveGroups
WARNING: Failed to retrieve tokenGroups for CN=John Smith,OU=Department,OU=Company Users,DC=DomainName,DC=local

  • environment: Ubuntu 10.04, installed from apt-get

Contributor guide

Open the contributing guide

Research direction

Start at ActiveDirectoryUnixAuthenticationProvider.resolveGroups, the entry point named in the Jenkins log, and reproduce login for a user granted access through a group on the described Ubuntu installation. Done means group-based authorization works without a 404 and the “Failed to retrieve tokenGroups” warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.