summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-01-15 19:00:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:54 -0500
commita84e778cafcefdc1809474c2123e757c8c9d9b70 (patch)
treeae83ffd22891d5b4d761e07a6608fd0cf6fecd9b /source/nsswitch/winbindd.h
parenta24df21e66aeafb15e22f9ed4df7d9dded3e3b52 (diff)
downloadsamba-a84e778cafcefdc1809474c2123e757c8c9d9b70.tar.gz
samba-a84e778cafcefdc1809474c2123e757c8c9d9b70.tar.xz
samba-a84e778cafcefdc1809474c2123e757c8c9d9b70.zip
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
Diffstat (limited to 'source/nsswitch/winbindd.h')
-rw-r--r--source/nsswitch/winbindd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd.h b/source/nsswitch/winbindd.h
index 22deaf82c6e..cd1d16e3441 100644
--- a/source/nsswitch/winbindd.h
+++ b/source/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,