diff options
author | Günther Deschner <gd@samba.org> | 2008-02-05 17:42:15 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-06 02:10:18 +0100 |
commit | 1430ab2dd33ab1bea9a4f0d89862b6a3d3efba68 (patch) | |
tree | 5710fa1a21d5aeb328b0bc8ec5091a8f41a02431 /source3/rpc_client | |
parent | 149fe79ad7ba57fbf9e09bf13ba358e7437931ae (diff) | |
download | samba-1430ab2dd33ab1bea9a4f0d89862b6a3d3efba68.tar.gz samba-1430ab2dd33ab1bea9a4f0d89862b6a3d3efba68.tar.bz2 samba-1430ab2dd33ab1bea9a4f0d89862b6a3d3efba68.zip |
Remove unused marshalling for SAMR_SET_DOMAIN_INFO.
Guenther
(This used to be commit c67581e1e49f7049d2ff25efe310593d19b1a0fb)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index df3fa30b15..4765e529be 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -467,46 +467,6 @@ NTSTATUS rpccli_samr_query_alias_info(struct rpc_pipe_client *cli, TALLOC_CTX *m return result; } -/* Set domain info */ - -NTSTATUS rpccli_samr_set_domain_info(struct rpc_pipe_client *cli, - TALLOC_CTX *mem_ctx, - POLICY_HND *domain_pol, - uint16 switch_value, - SAM_UNK_CTR *ctr) -{ - prs_struct qbuf, rbuf; - SAMR_Q_SET_DOMAIN_INFO q; - SAMR_R_SET_DOMAIN_INFO r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - DEBUG(10,("cli_samr_set_domain_info\n")); - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Marshall data and send request */ - - init_samr_q_set_domain_info(&q, domain_pol, switch_value, ctr); - - CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_SET_DOMAIN_INFO, - q, r, - qbuf, rbuf, - samr_io_q_set_domain_info, - samr_io_r_set_domain_info, - NT_STATUS_UNSUCCESSFUL); - - /* Return output parameters */ - - if (!NT_STATUS_IS_OK(result = r.status)) { - goto done; - } - - done: - - return result; -} - /* User change password */ NTSTATUS rpccli_samr_chgpasswd_user(struct rpc_pipe_client *cli, |