1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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 <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2019-11-11 17:49:48 +01:00 committed by Andreas Schneider
parent f66f4788bd
commit f2087876de

View File

@ -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 ||