diff options
author | Günther Deschner <gd@samba.org> | 2008-02-05 15:06:46 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-06 02:07:47 +0100 |
commit | 80d1590cbba12b4ce6edcd7551c03a462476d321 (patch) | |
tree | 29b3e4f92d1146e5b644784a24ec6390415f59d6 /source3/rpc_client | |
parent | 3028c76fb57352148b7bd8f1f9dd3c34cf1f7c06 (diff) | |
download | samba-80d1590cbba12b4ce6edcd7551c03a462476d321.tar.gz samba-80d1590cbba12b4ce6edcd7551c03a462476d321.tar.bz2 samba-80d1590cbba12b4ce6edcd7551c03a462476d321.zip |
Remove unused marshalling for SAMR_QUERY_DOMAIN_INFO2.
Guenther
(This used to be commit d4dc2781add71712705f4f244e8896683b701e77)
Diffstat (limited to 'source3/rpc_client')
-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 21e44e014b..d9427e3e4c 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -509,48 +509,6 @@ NTSTATUS rpccli_samr_query_dom_info(struct rpc_pipe_client *cli, return result; } -/* Query domain info2 */ - -NTSTATUS rpccli_samr_query_dom_info2(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_INFO2 q; - SAMR_R_QUERY_DOMAIN_INFO2 r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - DEBUG(10,("cli_samr_query_dom_info2\n")); - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Marshall data and send request */ - - init_samr_q_query_domain_info2(&q, domain_pol, switch_value); - - r.ctr = ctr; - - CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_QUERY_DOMAIN_INFO2, - q, r, - qbuf, rbuf, - samr_io_q_query_domain_info2, - samr_io_r_query_domain_info2, - 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, |