summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-01 01:24:04 +0100
committerGünther Deschner <gd@samba.org>2008-02-01 10:15:53 +0100
commitdc7c06d52de434a54970e6ffe278a72a2a2769d8 (patch)
tree7f16da51c7f657456185946ddd471cab6bfc4d14 /source3/rpc_client
parente33db782d2ce9f8676d3e97f38f655274a42da3c (diff)
downloadsamba-dc7c06d52de434a54970e6ffe278a72a2a2769d8.tar.gz
samba-dc7c06d52de434a54970e6ffe278a72a2a2769d8.tar.bz2
samba-dc7c06d52de434a54970e6ffe278a72a2a2769d8.zip
Remove rpccli_samr_delete_dom_alias().
Guenther (This used to be commit eac804b9a37a5ca150de51136f0daa84bb79e1c2)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 974d966bb7..acf0b1b2e2 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -1740,39 +1740,6 @@ NTSTATUS rpccli_samr_set_userinfo2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_
return result;
}
-/* Delete domain alias */
-
-NTSTATUS rpccli_samr_delete_dom_alias(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *alias_pol)
-{
- prs_struct qbuf, rbuf;
- SAMR_Q_DELETE_DOM_ALIAS q;
- SAMR_R_DELETE_DOM_ALIAS r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
-
- DEBUG(10,("cli_samr_delete_dom_alias\n"));
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_samr_q_delete_dom_alias(&q, alias_pol);
-
- CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_DELETE_DOM_ALIAS,
- q, r,
- qbuf, rbuf,
- samr_io_q_delete_dom_alias,
- samr_io_r_delete_dom_alias,
- NT_STATUS_UNSUCCESSFUL);
-
- /* Return output parameters */
-
- result = r.status;
-
- return result;
-}
-
/* Delete domain user */
NTSTATUS rpccli_samr_delete_dom_user(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,