Bug 1560 - winbind_ads must recurse when getting groups
winbind_ads must recurse when getting groups
Product: Samba 3.0
Classification: Unclassified
Component: winbind
All FreeBSD
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2004-07-26 06:39 UTC by Andrew Bartlett
Modified: 2006-04-08 11:40 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2004-07-26 06:39:22 UTC
When (for some reason) a user's tokenGroups attribute is not available, winbindd
falls back from lookup_usergroups() to lookup_usergroups_alt()

lookup_usergroups_alt() is buggy - as it does not manually recurse over all the
groups.  (It only does a single level lookup, and therefore misses groups in
groups).  This may not be possible, given what groups are on what servers.

Andrew Bartlett
Comment 1 Andrew Bartlett 2004-07-26 07:00:25 UTC

Both these functions are ADS LDAP functions.  The fallback is between two
different questions we can ask ADS.  

The fallback is less efficient, particularly now that we find the need to
manually recurse.
Comment 2 Gerald (Jerry) Carter 2006-04-08 11:40:15 UTC
closing old bugs.  relying on the PAC or Samlogon() reply is really the only valid solution.