summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-13 23:12:42 +0100
committerGünther Deschner <gd@samba.org>2008-02-13 23:12:42 +0100
commitd134bd3c27ba3317e323a2c37d43f80c0ec58cbc (patch)
treeb43d6db46da700b8ae1e9a21d8adeafc7e0760f9 /source3/rpc_client
parent7acdc9e8d6a6311983e1d3f19047293e47f92722 (diff)
downloadsamba-d134bd3c27ba3317e323a2c37d43f80c0ec58cbc.tar.gz
samba-d134bd3c27ba3317e323a2c37d43f80c0ec58cbc.tar.bz2
samba-d134bd3c27ba3317e323a2c37d43f80c0ec58cbc.zip
Remove unused marshalling for NET_LOGON_CTRL and NET_LOGON_CTRL2.
Guenther (This used to be commit c94538e742e469e4afc6e30d9d99951fda6dd219)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_netlogon.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index a6167bb851..d28df3c164 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -347,38 +347,6 @@ NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli,
return NT_STATUS_OK;
}
-/* Logon Control 2 */
-
-NTSTATUS rpccli_netlogon_logon_ctrl2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- uint32 query_level)
-{
- prs_struct qbuf, rbuf;
- NET_Q_LOGON_CTRL2 q;
- NET_R_LOGON_CTRL2 r;
- NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
- fstring server;
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Initialise input parameters */
-
- slprintf(server, sizeof(fstring)-1, "\\\\%s", cli->cli->desthost);
- init_net_q_logon_ctrl2(&q, server, query_level);
-
- /* Marshall data and send request */
-
- CLI_DO_RPC(cli, mem_ctx, PI_NETLOGON, NET_LOGON_CTRL2,
- q, r,
- qbuf, rbuf,
- net_io_q_logon_ctrl2,
- net_io_r_logon_ctrl2,
- NT_STATUS_UNSUCCESSFUL);
-
- result = r.status;
- return result;
-}
-
/* Sam synchronisation */
NTSTATUS rpccli_netlogon_sam_sync(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,