summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorHerb Lewis <hlewis@panasas.com>2008-08-15 15:28:23 -0700
committerJeremy Allison <jra@samba.org>2008-08-15 15:28:23 -0700
commit63ff9e008147b105316dcb0ea2df9b4304a8851e (patch)
treeba33935ddac60635f58380582109267b80125df8 /source3/winbindd
parent2408d3cf873f85827329d65d2f5d239b31d24200 (diff)
downloadsamba-63ff9e008147b105316dcb0ea2df9b4304a8851e.tar.gz
samba-63ff9e008147b105316dcb0ea2df9b4304a8851e.tar.bz2
samba-63ff9e008147b105316dcb0ea2df9b4304a8851e.zip
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)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index f1da5780aa..77b17787c9 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -1333,7 +1333,7 @@ NTSTATUS lookup_usergroups_cached(struct winbindd_domain *domain,
status = sid_array_from_info3(mem_ctx, info3,
user_sids,
&num_groups,
- true, true);
+ false, true);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(info3);