I think the problem with these functions is that lookup_usergroups
authorHerb Lewis <hlewis@panasas.com>
Fri, 15 Aug 2008 22:28:23 +0000 (15:28 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 15 Aug 2008 22:28:23 +0000 (15:28 -0700)
commit63ff9e008147b105316dcb0ea2df9b4304a8851e
treeba33935ddac60635f58380582109267b80125df8
parent2408d3cf873f85827329d65d2f5d239b31d24200
I think the problem with these functions is that lookup_usergroups
should never include the user SID.
The comment for the function in winbindd/winbindd_ads.c says
/* Lookup groups a user is a member of. */
The following patch makes the wbinfo calls return the correct data
before and after a login.
wbinfo --user-domgroups and --user-sids
(This used to be commit 7849938906a9c859805cbaeca66fae9d3c515aad)
source3/lib/util_sid.c
source3/winbindd/winbindd_util.c