1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

Merge of i18n password fix for smbclient.

This commit is contained in:
Tim Potter -
parent 493c31729f
commit ec217eb8fc

View 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) {