From: Stefan Metzmacher Date: Mon, 11 Nov 2019 16:49:48 +0000 (+0100) Subject: s3:rpcclient: avoid using auth related CLI_FULL_CONNECTION_* flags X-Git-Tag: ldb-2.2.0~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2087876de310214e82e34344b324f89f03a2dde;p=thirdparty%2Fsamba.git s3:rpcclient: avoid using auth related CLI_FULL_CONNECTION_* flags We use get_cmdline_auth_info_creds() and pass cli_credentials arround. Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 66d77302af3..67a1066fc15 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -1193,18 +1193,6 @@ out_free: break; } - if (get_cmdline_auth_info_use_kerberos(popt_get_cmdline_auth_info())) { - flags |= CLI_FULL_CONNECTION_USE_KERBEROS | - CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS; - } - if (get_cmdline_auth_info_use_ccache(popt_get_cmdline_auth_info())) { - flags |= CLI_FULL_CONNECTION_USE_CCACHE; - } - if (get_cmdline_auth_info_use_pw_nt_hash( - popt_get_cmdline_auth_info())) { - flags |= CLI_FULL_CONNECTION_USE_NT_HASH; - } - rpcclient_netlogon_domain = get_cmdline_auth_info_domain( popt_get_cmdline_auth_info()); if (rpcclient_netlogon_domain == NULL ||