Export logic of get_trust_pw() to new function get_trust_pw_clear().
authorMichael Adam <obnox@samba.org>
Mon, 17 Dec 2007 21:26:52 +0000 (22:26 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 19 Dec 2007 17:19:08 +0000 (18:19 +0100)
commit0bdb00df8287779e75cfbb7b9e239a04442509d7
tree3c71700b2fd66dd49be1ca4c944d1fa45f18f379
parent63d27ae58658653b93178169ed74e2c96bfd5f56
Export logic of get_trust_pw() to new function get_trust_pw_clear().

get_trust_pw() just now computes the md4 hash of the result of
get_trust_pw_clear() if that was successful. As a last resort,
in the non-trusted-domain-situation, get_trust_pw() now tries to
directly obtain the hashed version of the password out of secrets.tdb.

Michael
source/passdb/secrets.c