Fix up a botched prevoius commit.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 14 Jul 2002 04:51:57 +0000 (04:51 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 14 Jul 2002 04:51:57 +0000 (04:51 +0000)
commitc590e0c970b5babf370924cef51530e5e215eaf2
treead91f26d79e95c0f0b5b625ab4822670d4eba981
parent35b6b46bc67104671298641e2993225bad2c9a39
Fix up a botched prevoius commit.

The idea here is to allow invalid LM passwords in otherwise valid accounts.

This happens when we create an account without a password, for example.
Previously we would stop at the LM password, and not read things like the
account flags correctly.  Now we process the record, and just set the password
to NULL.

(Note, 'no password for access' is decided only on the basis of the Account
Control bits, not on the 'NULL' value of the password feild.).

Andrew Bartlett
source/passdb/pdb_smbpasswd.c