From fca72668cc80231f4f06246bfdc86116434694f5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 15 Jan 2005 19:00:18 +0000 Subject: r4760: Make wbinfo --user-sids expand domain local groups. Andrew B., my testing shows that this info is correctly returned to us in to info3 struct, so check_info3_in_group does not need to be adapted. Volker (This used to be commit a84e778cafcefdc1809474c2123e757c8c9d9b70) --- source3/nsswitch/winbindd.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3/nsswitch/winbindd.h') diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index 22deaf82c6..cd1d16e344 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -183,6 +183,14 @@ struct winbindd_methods { const DOM_SID *user_sid, uint32 *num_groups, DOM_SID ***user_gids); + /* Lookup all aliases that the sids delivered are member of. This is + * to implement 'domain local groups' correctly */ + NTSTATUS (*lookup_useraliases)(struct winbindd_domain *domain, + TALLOC_CTX *mem_ctx, + uint32 num_sids, DOM_SID **sids, + uint32 *num_aliases, + uint32 **alias_rids); + /* find all members of the group with the specified group_rid */ NTSTATUS (*lookup_groupmem)(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, -- cgit