diff options
author | Volker Lendecke <vl@samba.org> | 2009-08-28 14:25:11 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-08-29 10:44:13 +0200 |
commit | 99cf696150a1b8e24a9d87981b710b703045a2a5 (patch) | |
tree | 0a776b96b74473a728f5ecd80bbf74d5bff2704b /source3/winbindd/winbindd_group.c | |
parent | ccc18d4d5d3aa0c6a5767bdb8f0dbdd761b93897 (diff) | |
download | samba-99cf696150a1b8e24a9d87981b710b703045a2a5.tar.gz samba-99cf696150a1b8e24a9d87981b710b703045a2a5.tar.xz samba-99cf696150a1b8e24a9d87981b710b703045a2a5.zip |
s3:winbind: Fix a bug found by RPC-SAMR
We need to enumerate passdb alias members
Thanks to gd for bugging me :-)
Diffstat (limited to 'source3/winbindd/winbindd_group.c')
-rw-r--r-- | source3/winbindd/winbindd_group.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c index e914f0e753..21ab3f7ef9 100644 --- a/source3/winbindd/winbindd_group.c +++ b/source3/winbindd/winbindd_group.c @@ -118,7 +118,8 @@ static void add_expanded_sid(const DOM_SID *sid, } result = domain->methods->lookup_groupmem(domain, mem_ctx, - sid, &num_names, + sid, SID_NAME_DOM_GRP, + &num_names, &sid_mem, &names, &types); @@ -470,7 +471,9 @@ static NTSTATUS expand_groups( TALLOC_CTX *ctx, /* Lookup the group membership */ lookup_status = d->methods->lookup_groupmem(d, tmp_ctx, - &glist[i], &num_names, + &glist[i], + SID_NAME_DOM_GRP, + &num_names, &sid_mem, &names, &name_types); if (!NT_STATUS_IS_OK(lookup_status)) { |