summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-29 19:31:32 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-29 19:31:32 +0000
commit243feaa08c43cc7dbca155cba5f085697e968c8d (patch)
tree64c7e9c8843550b991691f18f6d052241e33de1f /source3/include/proto.h
parenta8b8b8ac3b18437aee6e91749f0e76ef3a04d030 (diff)
downloadsamba-243feaa08c43cc7dbca155cba5f085697e968c8d.tar.gz
samba-243feaa08c43cc7dbca155cba5f085697e968c8d.tar.bz2
samba-243feaa08c43cc7dbca155cba5f085697e968c8d.zip
rewrite rpcclient sam enum user code to use higher order functions.
(This used to be commit b794ff213009fbcf6a4767e3361501291cdc065d)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h13
1 files changed, 9 insertions, 4 deletions
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);