From 7f9fbcd0eff68e7a27847dd56a0f17f9433af93f 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. (This used to be commit ec217eb8fc2a9cf329a51c51ba08a04fa5b008c2) --- source3/libsmb/cliconnect.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 96bf06d0ac7..8a56a08b1d4 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/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) { -- 2.34.1