mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
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>
This commit is contained in:
parent
8d73127462
commit
0994e0a3e3
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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(),
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user