diff options
author | Günther Deschner <gd@samba.org> | 2008-02-05 17:35:11 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-06 02:10:09 +0100 |
commit | 149fe79ad7ba57fbf9e09bf13ba358e7437931ae (patch) | |
tree | 89238b76bbb8d3758ead51bf611498934e36f265 /source3/rpc_client/cli_samr.c | |
parent | 742fd39b7a9ecfe30b01e323a9ce1c2375c5d076 (diff) | |
download | samba-149fe79ad7ba57fbf9e09bf13ba358e7437931ae.tar.gz |
Remove unused marshalling for SAMR_QUERY_DOMAIN_INFO.
Guenther
(This used to be commit 28ef04437c1e575944e392d83f014d77998ec3ff)
Diffstat (limited to 'source3/rpc_client/cli_samr.c')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index d9427e3e4cf..df3fa30b158 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -467,48 +467,6 @@ NTSTATUS rpccli_samr_query_alias_info(struct rpc_pipe_client *cli, TALLOC_CTX *m return result; } -/* Query domain info */ - -NTSTATUS rpccli_samr_query_dom_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_QUERY_DOMAIN_INFO q; - SAMR_R_QUERY_DOMAIN_INFO r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - DEBUG(10,("cli_samr_query_dom_info\n")); - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Marshall data and send request */ - - init_samr_q_query_domain_info(&q, domain_pol, switch_value); - - r.ctr = ctr; - - CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_QUERY_DOMAIN_INFO, - q, r, - qbuf, rbuf, - samr_io_q_query_domain_info, - samr_io_r_query_domain_info, - NT_STATUS_UNSUCCESSFUL); - - /* Return output parameters */ - - if (!NT_STATUS_IS_OK(result = r.status)) { - goto done; - } - - done: - - return result; -} - /* Set domain info */ NTSTATUS rpccli_samr_set_domain_info(struct rpc_pipe_client *cli, |