summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-05 11:00:56 +0100
committerGünther Deschner <gd@samba.org>2008-02-05 13:19:47 +0100
commit23f76ed91fd976d91575259da692c1faa81c49fd (patch)
treef7824d16a0b026f85abee51c0a8ea23535ddb72f /source3/rpc_client
parent2823c1eab17d0b84765083ace19cb6efd8f50980 (diff)
downloadsamba-23f76ed91fd976d91575259da692c1faa81c49fd.tar.gz
samba-23f76ed91fd976d91575259da692c1faa81c49fd.tar.bz2
samba-23f76ed91fd976d91575259da692c1faa81c49fd.zip
Remove unused marshalling for SAMR_QUERY_GROUPMEM.
Guenther (This used to be commit 48e74f77529ca8d75d99b1f415b9417ff0cf0679)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index b0078c3433..5b477aaf20 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -252,45 +252,6 @@ NTSTATUS rpccli_samr_query_useraliases(struct rpc_pipe_client *cli,
return result;
}
-/* Query user groups */
-
-NTSTATUS rpccli_samr_query_groupmem(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- POLICY_HND *group_pol, uint32 *num_mem,
- uint32 **rid, uint32 **attr)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_QUERY_GROUPMEM q;
- SAMR_R_QUERY_GROUPMEM r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
-
- DEBUG(10,("cli_samr_query_groupmem\n"));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_query_groupmem(&q, group_pol);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_QUERY_GROUPMEM,
- q, r,
- qbuf, rbuf,
- samr_io_q_query_groupmem,
- samr_io_r_query_groupmem,
- NT_STATUS_UNSUCCESSFUL);
-
- /* Return output parameters */
-
- if (NT_STATUS_IS_OK(result = r.status)) {
- *num_mem = r.num_entries;
- *rid = r.rid;
- *attr = r.attr;
- }
-
- return result;
-}
-
/**
* Enumerate domain users
*