diff options
author | Günther Deschner <gd@samba.org> | 2008-02-01 01:27:28 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-01 10:17:49 +0100 |
commit | c4bb59afb46c74b5fe3ac857bed3f68b9a688a8f (patch) | |
tree | 3b8b2f17df34b89e8af1ccb1aab0a68c64e18e20 /source3/rpc_client | |
parent | e4a64da293aeee61950673c211b760637cc5386e (diff) | |
download | samba-c4bb59afb46c74b5fe3ac857bed3f68b9a688a8f.tar.gz samba-c4bb59afb46c74b5fe3ac857bed3f68b9a688a8f.tar.bz2 samba-c4bb59afb46c74b5fe3ac857bed3f68b9a688a8f.zip |
Remove rpccli_samr_delete_dom_user().
Guenther
(This used to be commit 1b620ea648a20dc54c9c8bc21affbdbb2174ebea)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index acf0b1b2e2..ad1991d534 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 user */ - -NTSTATUS rpccli_samr_delete_dom_user(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *user_pol) -{ - prs_struct qbuf, rbuf; - SAMR_Q_DELETE_DOM_USER q; - SAMR_R_DELETE_DOM_USER r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - DEBUG(10,("cli_samr_delete_dom_user\n")); - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Marshall data and send request */ - - init_samr_q_delete_dom_user(&q, user_pol); - - CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_DELETE_DOM_USER, - q, r, - qbuf, rbuf, - samr_io_q_delete_dom_user, - samr_io_r_delete_dom_user, - NT_STATUS_UNSUCCESSFUL); - - /* Return output parameters */ - - result = r.status; - - return result; -} - /* Remove foreign SID */ NTSTATUS rpccli_samr_remove_sid_foreign_domain(struct rpc_pipe_client *cli, |