s3:auth:sam_password_ok: take username, acct_ctrl and nt/lm hashes, not sampass
authorMichael Adam <obnox@samba.org>
Mon, 4 Jan 2010 17:15:24 +0000 (18:15 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 7 Jan 2010 10:07:56 +0000 (11:07 +0100)
commit36348594505a5e7934d20d3b614f51023ae5740a
tree5cc2514ca0cad948d1529e28a4f06bcbca3a9e7b
parentc0f404a2e46187424915a073142a0a218b48ec2c
s3:auth:sam_password_ok: take username, acct_ctrl and nt/lm hashes, not sampass

This is in preparation to extending check_sam_security to also check
against the password history before updating the bad password count.
This way, sam_password_ok can more easily be reused for that purpose.

Michael
source3/auth/auth_sam.c