summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-07 14:01:58 +0100
committerGünther Deschner <gd@samba.org>2008-02-07 14:13:09 +0100
commit815ab1ac949a6d71f062f8dd1d7ffe45196780db (patch)
tree757c44e5c3aee7bee623824b7fe766a6c09a9287 /source3/rpc_client
parent1ec50b50e16a78e0bbbe5f5ad70b8a35d01a973e (diff)
downloadsamba-815ab1ac949a6d71f062f8dd1d7ffe45196780db.tar.gz
samba-815ab1ac949a6d71f062f8dd1d7ffe45196780db.tar.bz2
samba-815ab1ac949a6d71f062f8dd1d7ffe45196780db.zip
Remove unused marshalling for SAMR_QUERY_GROUPINFO.
Guenther (This used to be commit 680dbd3ef6b1e42db2fbf5b11308b02d961a7688)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 19c59f2685..eb37d6e7ab 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -64,42 +64,6 @@ NTSTATUS rpccli_samr_query_userinfo(struct rpc_pipe_client *cli,
return result;
}
-/* Query group info */
-
-NTSTATUS rpccli_samr_query_groupinfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *group_pol, uint32 info_level,
- GROUP_INFO_CTR **ctr)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_QUERY_GROUPINFO q;
- SAMR_R_QUERY_GROUPINFO r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
-
- DEBUG(10,("cli_samr_query_groupinfo\n"));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_query_groupinfo(&q, group_pol, info_level);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_QUERY_GROUPINFO,
- q, r,
- qbuf, rbuf,
- samr_io_q_query_groupinfo,
- samr_io_r_query_groupinfo,
- NT_STATUS_UNSUCCESSFUL);
-
- *ctr = r.ctr;
-
- /* Return output parameters */
-
- result = r.status;
-
- return result;
-}
-
/* Query user groups */
NTSTATUS rpccli_samr_query_usergroups(struct rpc_pipe_client *cli,