diff options
author | Günther Deschner <gd@samba.org> | 2008-02-06 16:22:48 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-07 14:25:29 +0100 |
commit | f564a5476b47f5ca92f1d36a395c439f425ae612 (patch) | |
tree | b9f7daad310d1c8fc3230243bb6ccbb44a0988d5 /source3/rpc_client | |
parent | 1c788bc36561842d08c3f62b5d3145dbe74db620 (diff) | |
download | samba-f564a5476b47f5ca92f1d36a395c439f425ae612.tar.gz samba-f564a5476b47f5ca92f1d36a395c439f425ae612.tar.bz2 samba-f564a5476b47f5ca92f1d36a395c439f425ae612.zip |
Remove unused marshalling for SAMR_QUERY_USERGROUPS.
Guenther
(This used to be commit 232a505535de04121a631b3bb24a2700df07ee1e)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index eb37d6e7ab..858bfc304b 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -64,45 +64,6 @@ NTSTATUS rpccli_samr_query_userinfo(struct rpc_pipe_client *cli, return result; } -/* Query user groups */ - -NTSTATUS rpccli_samr_query_usergroups(struct rpc_pipe_client *cli, - TALLOC_CTX *mem_ctx, - POLICY_HND *user_pol, - uint32 *num_groups, - DOM_GID **gid) -{ - prs_struct qbuf, rbuf; - SAMR_Q_QUERY_USERGROUPS q; - SAMR_R_QUERY_USERGROUPS r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - DEBUG(10,("cli_samr_query_usergroups\n")); - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Marshall data and send request */ - - init_samr_q_query_usergroups(&q, user_pol); - - CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_QUERY_USERGROUPS, - q, r, - qbuf, rbuf, - samr_io_q_query_usergroups, - samr_io_r_query_usergroups, - NT_STATUS_UNSUCCESSFUL); - - /* Return output parameters */ - - if (NT_STATUS_IS_OK(result = r.status)) { - *num_groups = r.num_entries; - *gid = r.gid; - } - - return result; -} - /** * Enumerate domain users * |