summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-02-15 05:42:04 +0000
committerTim Potter <tpot@samba.org>2001-02-15 05:42:04 +0000
commit7f9fbcd0eff68e7a27847dd56a0f17f9433af93f (patch)
treea90a1792123ddfd1f87bd6fd7ff897844b554fcf /source3/libsmb
parentd1a672b5967f66eed422cbc0622385bd8dc27221 (diff)
downloadsamba-7f9fbcd0eff68e7a27847dd56a0f17f9433af93f.tar.gz
samba-7f9fbcd0eff68e7a27847dd56a0f17f9433af93f.tar.bz2
samba-7f9fbcd0eff68e7a27847dd56a0f17f9433af93f.zip
Merge of i18n password fix for smbclient.
(This used to be commit ec217eb8fc2a9cf329a51c51ba08a04fa5b008c2)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 96bf06d0ac..8a56a08b1d 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) {