diff options
author | Luke Leighton <lkcl@samba.org> | 1999-10-28 20:02:29 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-10-28 20:02:29 +0000 |
commit | c7c77cbfd75052c73723b1b6783f254d2ff49e65 (patch) | |
tree | 7550fcf49a068ac0c174776d41a790cf0e242303 /source3/include | |
parent | 640012d80bb393d97a21d26b827fe274c0555013 (diff) | |
download | samba-c7c77cbfd75052c73723b1b6783f254d2ff49e65.tar.gz samba-c7c77cbfd75052c73723b1b6783f254d2ff49e65.tar.bz2 samba-c7c77cbfd75052c73723b1b6783f254d2ff49e65.zip |
restructuring samr client code.
(This used to be commit a78607b5dbf0fca6a22ab41195f465474578ee39)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index a14fec2877..50c6477d80 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1738,7 +1738,7 @@ BOOL cli_nt_logoff(struct cli_state *cli, uint16 fnum, NET_ID_INFO_CTR *ctr); /*The following definitions come from rpc_client/cli_lsarpc.c */ BOOL lsa_open_policy(struct cli_state *cli, uint16 fnum, - char *server_name, POLICY_HND *hnd, + const char *server_name, POLICY_HND *hnd, BOOL sec_qos); BOOL lsa_open_secret(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd_pol, char *secret_name, uint32 des_access, @@ -3215,6 +3215,13 @@ void cmd_sam_del_groupmem(struct client_info *info); void cmd_sam_delete_dom_group(struct client_info *info); 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, + uint32 user_rid, + uint32 *num_groups, + DOM_GID **gid, + char ***name, + uint32 **type); int msrpc_sam_enum_users(struct client_info *info, struct acct_info **sam, uint32 *num_sam_entries, @@ -3228,7 +3235,7 @@ BOOL sam_query_dominfo(struct client_info *info, DOM_SID *sid1, uint32 switch_value, SAM_UNK_CTR *ctr); void cmd_sam_query_dominfo(struct client_info *info); void cmd_sam_enum_aliases(struct client_info *info); -BOOL sam_query_groupmem(struct client_info *info, uint16 fnum, +BOOL sam_query_groupmem(struct cli_state *cli, uint16 fnum, POLICY_HND *pol_dom, uint32 group_rid, uint32 *num_names, |