1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

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

(This used to be commit 90dcbe16be065e2113fba1d3cee28f40be1bb86c)
This commit is contained in:
Andrew Bartlett 2001-09-30 14:51:38 +00:00
parent b7ca6ec034
commit 2e3be37878

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