s3:rpc_client: remove unused auth_level paramter of cli_rpc_pipe_open_schannel()
authorStefan Metzmacher <metze@samba.org>
Mon, 9 Feb 2015 08:49:16 +0000 (09:49 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 12 Mar 2015 16:13:43 +0000 (17:13 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/rpc_client/cli_pipe.h
source3/rpc_client/cli_pipe_schannel.c
source3/rpcclient/rpcclient.c
source3/utils/net_rpc.c

index 16946c5e206effc5043a619ffdc760de68937ad7..01edaa4dcf26706eea7279272d4cad4b847e96ce 100644 (file)
@@ -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,
index 7b53cf08bbba6ba51ca03e936808d65d1859dc0b..0825663100b8d1f87177d5a797dd98cf54e6fdd5 100644 (file)
@@ -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,
index 9dec094f1577556679c9ccf836f3fcf9cde3ce5b..f0025486bd7d6d5dcbd142328a4dca76c64da3a2 100644 (file)
@@ -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(),
index bf659a84519bea157e0f2ee690d3f1dc2a0cb15f..2df009d1f95c56f8249336f69e27ad9ce7ada117 100644 (file)
@@ -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",