Bug 1560 - winbind_ads must recurse when getting groups
winbind_ads must recurse when getting groups
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: winbind
3.0.2a
All FreeBSD
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  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:


Attachments

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
Clarification:

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.