From f2087876de310214e82e34344b324f89f03a2dde Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 11 Nov 2019 17:49:48 +0100 Subject: [PATCH] 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 --- source3/rpcclient/rpcclient.c | 12 ------------ 1 file changed, 12 deletions(-) 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 ||