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)
commit7849938906a9c859805cbaeca66fae9d3c515aad
tree90acd190633389be8651082ccf066abf31f9d9b0
parent03de8c1955a85f2e3e9f947309e09023138a1591
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
source/lib/util_sid.c
source/winbindd/winbindd_util.c