1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

Don't try to write the LM password in the NT password feild.

This commit is contained in:
Andrew Bartlett -
parent 57196635d9
commit 90dcbe16be

View File

@ -474,7 +474,6 @@ static int import_users (char *filename)
pdb_set_lanman_passwd(sam_pwent, smbpwd);
}
/* NT password */
pdb_set_nt_passwd(sam_pwent, smbpwd);
p += 33;
if ((linebuf_len >= (PTR_DIFF(p, linebuf) + 33)) && (p[32] == ':')) {
if (*p != '*' && *p != 'X') {