diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntdomain.h | 4 | ||||
-rw-r--r-- | source3/include/proto.h | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 87a438841b..3d8bdcba29 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -154,5 +154,9 @@ struct acct_info #define GROUP_INFO_FN(fn) void (*fn)(char*, DOM_SID*, uint32, GROUP_INFO_CTR *) #define GROUP_MEM_FN(fn) void(*fn)(char*, DOM_SID*, uint32, char*, uint32, uint32*, char**, uint32*) +#define USER_FN(fn) void (*fn)(char*, DOM_SID*, uint32, char*) +#define USER_INFO_FN(fn) void (*fn)(char*, DOM_SID*, uint32, SAM_USER_INFO_21 *) +#define USER_MEM_FN(fn) void(*fn)(char*, DOM_SID*, uint32, char*, uint32, uint32*, char**, uint32*) + #endif /* _NT_DOMAIN_H */ diff --git a/source3/include/proto.h b/source3/include/proto.h index 5a47265ad1..7178bcde63 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3224,17 +3224,22 @@ void cmd_sam_add_groupmem(struct client_info *info); void cmd_sam_create_dom_group(struct client_info *info); uint32 sam_query_usergroups(struct cli_state *cli, uint16 fnum, POLICY_HND *pol_dom, + char *domain, + DOM_SID *sid, uint32 user_rid, + char *user_name, uint32 *num_groups, DOM_GID **gid, char ***name, - uint32 **type); + uint32 **type, + USER_MEM_FN(usr_mem)); int msrpc_sam_enum_users(struct client_info *info, struct acct_info **sam, uint32 *num_sam_entries, - BOOL request_user_info, - BOOL request_group_info, - BOOL request_alias_info); + USER_FN(usr_fn), + USER_INFO_FN(usr_inf_fn), + USER_MEM_FN(usr_grp_fn), + USER_MEM_FN(usr_als_fn)); void cmd_sam_enum_users(struct client_info *info); void cmd_sam_query_user(struct client_info *info); void cmd_sam_query_dispinfo(struct client_info *info); |