summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 23:44:11 +0100
committerGünther Deschner <gd@samba.org>2008-02-05 10:01:35 +0100
commit30857dbf26d06ff3d38114b70e6f594f8ba51554 (patch)
tree6cec1b0337b6c026d5408c42382b0a4a0d7790c0 /source3/rpc_client
parentf22e45c8a2eca7c6b87c278a8f66629a97a9a7fb (diff)
downloadsamba-30857dbf26d06ff3d38114b70e6f594f8ba51554.tar.gz
samba-30857dbf26d06ff3d38114b70e6f594f8ba51554.tar.bz2
samba-30857dbf26d06ff3d38114b70e6f594f8ba51554.zip
Remove unused marshalling for SAMR_ADD_ALIASMEM.
Guenther (This used to be commit 27e0b6a1aa94294588b2c18ed7929edb0289e746)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index a1824a4803..4f29397c1a 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -574,37 +574,6 @@ NTSTATUS rpccli_samr_query_aliasmem(struct rpc_pipe_client *cli,
return result;
}
-/* Add an alias member */
-
-NTSTATUS rpccli_samr_add_aliasmem(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *alias_pol, DOM_SID *member)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_ADD_ALIASMEM q;
- SAMR_R_ADD_ALIASMEM r;
- NTSTATUS result;
-
- DEBUG(10,("cli_samr_add_aliasmem"));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_add_aliasmem(&q, alias_pol, member);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_ADD_ALIASMEM,
- q, r,
- qbuf, rbuf,
- samr_io_q_add_aliasmem,
- samr_io_r_add_aliasmem,
- NT_STATUS_UNSUCCESSFUL);
-
- result = r.status;
-
- return result;
-}
-
/* Query alias info */
NTSTATUS rpccli_samr_query_alias_info(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,