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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:49:23 +0000 (12:49 +0100)
commit079a5fef10ce8cc9ae11a64456107eb6baec2064
tree0ca13ea19c0e3e20feab359e91dfae4f2ba7c2eb
parent47b0b192e00496f8dff843d435c89a648f60087a
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
(cherry picked from commit 2925209acc8bcda487fa8f05365ea8fedb232218)
source3/auth/auth_sam.c