From 0994e0a3e30b447eb44e7701207de9a3c13e63cc Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 9 Feb 2015 09:49:16 +0100 Subject: [PATCH] s3:rpc_client: remove unused auth_level paramter of cli_rpc_pipe_open_schannel() Signed-off-by: Stefan Metzmacher Reviewed-by: Guenther Deschner --- source3/rpc_client/cli_pipe.h | 1 - source3/rpc_client/cli_pipe_schannel.c | 1 - source3/rpcclient/rpcclient.c | 1 - source3/utils/net_rpc.c | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/source3/rpc_client/cli_pipe.h b/source3/rpc_client/cli_pipe.h index 16946c5e206..01edaa4dcf2 100644 --- a/source3/rpc_client/cli_pipe.h +++ b/source3/rpc_client/cli_pipe.h @@ -117,7 +117,6 @@ NTSTATUS cli_rpc_pipe_open_schannel(struct cli_state *cli, struct messaging_context *msg_ctx, const struct ndr_interface_table *table, enum dcerpc_transport_t transport, - enum dcerpc_AuthLevel auth_level, const char *domain, struct rpc_pipe_client **presult, TALLOC_CTX *mem_ctx, diff --git a/source3/rpc_client/cli_pipe_schannel.c b/source3/rpc_client/cli_pipe_schannel.c index 7b53cf08bbb..0825663100b 100644 --- a/source3/rpc_client/cli_pipe_schannel.c +++ b/source3/rpc_client/cli_pipe_schannel.c @@ -41,7 +41,6 @@ NTSTATUS cli_rpc_pipe_open_schannel(struct cli_state *cli, struct messaging_context *msg_ctx, const struct ndr_interface_table *table, enum dcerpc_transport_t transport, - enum dcerpc_AuthLevel auth_level, const char *domain, struct rpc_pipe_client **presult, TALLOC_CTX *mem_ctx, diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 9dec094f157..f0025486bd7 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -734,7 +734,6 @@ static NTSTATUS do_cmd(struct cli_state *cli, cli, rpcclient_msg_ctx, cmd_entry->table, default_transport, - pipe_default_auth_level, get_cmdline_auth_info_domain(auth_info), &cmd_entry->rpc_pipe, talloc_autofree_context(), diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index bf659a84519..2df009d1f95 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -195,7 +195,7 @@ int run_rpc_command(struct net_context *c, TALLOC_FREE(c->netlogon_creds); nt_status = cli_rpc_pipe_open_schannel( cli, c->msg_ctx, table, NCACN_NP, - DCERPC_AUTH_LEVEL_PRIVACY, domain_name, + domain_name, &pipe_hnd, c, &c->netlogon_creds); if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(0, ("Could not initialise schannel netlogon pipe. Error was %s\n",