]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:cli_pipe: remove unused 'use_kerberos' from cli_rpc_pipe_open_generic_auth()
authorStefan Metzmacher <metze@samba.org>
Mon, 11 Nov 2019 12:11:53 +0000 (13:11 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 28 May 2020 06:43:37 +0000 (06:43 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_client/cli_pipe.c
source3/rpc_client/cli_pipe.h
source3/utils/net_rpc.c

index 1276eaf9807246650a6f55203ff97f6972fa56c3..11bb5414bc4f42c31350d4e6ba2eb66fa09d8dd7 100644 (file)
@@ -3236,7 +3236,6 @@ NTSTATUS cli_rpc_pipe_open_with_creds(struct cli_state *cli,
 NTSTATUS cli_rpc_pipe_open_generic_auth(struct cli_state *cli,
                                        const struct ndr_interface_table *table,
                                        enum dcerpc_transport_t transport,
-                                       enum credentials_use_kerberos use_kerberos,
                                        enum dcerpc_AuthType auth_type,
                                        enum dcerpc_AuthLevel auth_level,
                                        const char *server,
index 88dda8d4fbff2b213a9b5e89ab2808233d9b30e8..de89b227309ffc7d55a91626a36f0d22d7f161b1 100644 (file)
@@ -90,7 +90,6 @@ NTSTATUS cli_rpc_pipe_open_with_creds(struct cli_state *cli,
 NTSTATUS cli_rpc_pipe_open_generic_auth(struct cli_state *cli,
                                        const struct ndr_interface_table *table,
                                        enum dcerpc_transport_t transport,
-                                       enum credentials_use_kerberos use_kerberos,
                                        enum dcerpc_AuthType auth_type,
                                        enum dcerpc_AuthLevel auth_level,
                                        const char *server,
index 31babc0a7555f4a99fdb2b8743f03b72229d8a68..ad339363b0841fbeb15d752ca8301ab7f617b654 100644 (file)
@@ -210,7 +210,6 @@ int run_rpc_command(struct net_context *c,
                                        cli, table,
                                        (conn_flags & NET_FLAGS_TCP) ?
                                        NCACN_IP_TCP : NCACN_NP,
-                                       CRED_DONT_USE_KERBEROS,
                                        DCERPC_AUTH_TYPE_NTLMSSP,
                                        DCERPC_AUTH_LEVEL_PRIVACY,
                                        smbXcli_conn_remote_name(cli->conn),