summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-11 14:10:23 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-12 12:41:10 +0200
commit080c1ca64b618a906a9246556d07e3a0573a6cc1 (patch)
tree67d415642ec23ae48548226c58d1e1b5c4b333d9 /source3/libsmb
parenta40a566504ec76d8ca4829c9d690d8a353330250 (diff)
downloadsamba-080c1ca64b618a906a9246556d07e3a0573a6cc1.tar.gz
samba-080c1ca64b618a906a9246556d07e3a0573a6cc1.tar.bz2
samba-080c1ca64b618a906a9246556d07e3a0573a6cc1.zip
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
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clidfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 4655915907..95f8817a94 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -129,6 +129,9 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx,
if (get_cmdline_auth_info_use_ccache(auth_info)) {
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(
server, NULL, port, name_type, NULL,