s4:password_hash Only store the LM hash if 'lanman auth = yes'
authorAndrew Bartlett <abartlet@samba.org>
Wed, 11 Mar 2009 09:01:13 +0000 (20:01 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 16 Mar 2009 00:28:11 +0000 (11:28 +1100)
commit1a06b31b592a9c1d0188f4470b38e881b0bf3633
treefc466c0743f42e7abdaf9f5c83f179e80775288e
parentec131db4f11e9d47c9bfec7654ab23720c5db713
s4:password_hash Only store the LM hash if 'lanman auth = yes'

The clients that do only lanman auth are on their way out, the
passwords are case insensitive, it does not support unicode and we
should not store such a poor hash of the password if we can avoid it.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/password_hash.c