Export logic of get_trust_pw() to new function get_trust_pw_clear().
authorMichael Adam <obnox@samba.org>
Tue, 11 Dec 2007 12:59:54 +0000 (13:59 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 13 Dec 2007 09:15:18 +0000 (10:15 +0100)
commit1084151442552e63c0b9b310273d8d42711aa55c
tree3ae3b6cf3373af98063aaba6bd4637996a19c9f2
parentfe969f9a7fdf823b7701d4cc4cfd55dac81ca90e
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
(This used to be commit 4562342eb84e6fdcec15d8b7ae83aa146aabe2b7)
source3/passdb/passdb.c