1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s3: Make --pw-nt-hash useable in smbclient

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jun 12 12:41:10 CEST 2012 on sn-devel-104
This commit is contained in:
Volker Lendecke 2012-06-11 14:10:23 +02:00 committed by Stefan Metzmacher
parent a40a566504
commit 080c1ca64b

View File

@ -129,6 +129,9 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
if (get_cmdline_auth_info_use_ccache(auth_info)) { if (get_cmdline_auth_info_use_ccache(auth_info)) {
flags |= CLI_FULL_CONNECTION_USE_CCACHE; flags |= CLI_FULL_CONNECTION_USE_CCACHE;
} }
if (get_cmdline_auth_info_use_pw_nt_hash(auth_info)) {
flags |= CLI_FULL_CONNECTION_USE_NT_HASH;
}
status = cli_connect_nb( status = cli_connect_nb(
server, NULL, port, name_type, NULL, server, NULL, port, name_type, NULL,