From ec217eb8fc2a9cf329a51c51ba08a04fa5b008c2 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 15 Feb 2001 05:42:04 +0000 Subject: [PATCH] Merge of i18n password fix for smbclient. --- source/libsmb/cliconnect.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c index 96bf06d0ac7..8a56a08b1d4 100644 --- a/source/libsmb/cliconnect.c +++ b/source/libsmb/cliconnect.c @@ -87,7 +87,6 @@ BOOL cli_session_setup(struct cli_state *cli, fstrcpy(pword, pass); unix_to_dos(pword,True); fstrcpy(ntpword, ntpass);; - unix_to_dos(ntpword,True); SMBencrypt((uchar *)pword,(uchar *)cli->cryptkey,(uchar *)pword); SMBNTencrypt((uchar *)ntpword,(uchar *)cli->cryptkey,(uchar *)ntpword); } else if ((cli->sec_mode & 2) && passlen == 24) {