summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-01 14:52:59 +0100
committerGünther Deschner <gd@samba.org>2008-02-01 16:29:20 +0100
commitd3b25867f5259575072e8f1245c54c6eaee081c4 (patch)
tree88e2a85fbbe3b50cc6f9732253b8fc7e00e864cc /source3/rpc_client
parent99ebfd810fb725e8449fb6ef82e074fb072e27cf (diff)
downloadsamba-d3b25867f5259575072e8f1245c54c6eaee081c4.tar.gz
samba-d3b25867f5259575072e8f1245c54c6eaee081c4.tar.bz2
samba-d3b25867f5259575072e8f1245c54c6eaee081c4.zip
Remove unused marshalling for SAMR_CREATE_DOM_ALIAS.
Guenther (This used to be commit 2e56289889b705d003a170fafa69163ce5841f3b)
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 c00a3c248b..8c36d589fc 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -751,42 +751,6 @@ NTSTATUS rpccli_samr_query_aliasmem(struct rpc_pipe_client *cli,
return result;
}
-/* Create an alias */
-
-NTSTATUS rpccli_samr_create_dom_alias(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *domain_pol, const char *name,
- POLICY_HND *alias_pol)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_CREATE_DOM_ALIAS q;
- SAMR_R_CREATE_DOM_ALIAS r;
- NTSTATUS result;
-
- DEBUG(10,("cli_samr_create_dom_alias named %s\n", name));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_create_dom_alias(&q, domain_pol, name);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_CREATE_DOM_ALIAS,
- q, r,
- qbuf, rbuf,
- samr_io_q_create_dom_alias,
- samr_io_r_create_dom_alias,
- NT_STATUS_UNSUCCESSFUL);
-
- /* Return output parameters */
-
- if (NT_STATUS_IS_OK(result = r.status)) {
- *alias_pol = r.alias_pol;
- }
-
- return result;
-}
-
/* Add an alias member */
NTSTATUS rpccli_samr_add_aliasmem(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,