Merge of i18n password fix for smbclient.
authorTim Potter <tpot@samba.org>
Thu, 15 Feb 2001 05:42:04 +0000 (05:42 +0000)
committerTim Potter <tpot@samba.org>
Thu, 15 Feb 2001 05:42:04 +0000 (05:42 +0000)
(This used to be commit ec217eb8fc2a9cf329a51c51ba08a04fa5b008c2)

source3/libsmb/cliconnect.c

index 96bf06d0ac72130b32493401e046d9beca869480..8a56a08b1d4648af650889a7da3755cb7492f2e5 100644 (file)
@@ -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) {