diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-02-09 09:49:16 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2015-03-12 17:13:43 +0100 |
commit | 0994e0a3e30b447eb44e7701207de9a3c13e63cc (patch) | |
tree | 21aed1c94cea96d8e9ead9470724078cb468e694 /source3 | |
parent | 8d731274626614a0679ff25f7e939bf34caa9440 (diff) | |
download | samba-0994e0a3e30b447eb44e7701207de9a3c13e63cc.tar.gz |
s3:rpc_client: remove unused auth_level paramter of cli_rpc_pipe_open_schannel()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_pipe.h | 1 | ||||
-rw-r--r-- | source3/rpc_client/cli_pipe_schannel.c | 1 | ||||
-rw-r--r-- | source3/rpcclient/rpcclient.c | 1 | ||||
-rw-r--r-- | source3/utils/net_rpc.c | 2 |
4 files changed, 1 insertions, 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", |