From aa1b8287f44f47f23bd4158112d0a132df04426c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 26 May 2008 12:31:44 +0200 Subject: [PATCH] passdb: check for is_dc_trusted_domain_situation() in get_trust_pw_hash(). Before fetching legacy password hash, check for trusted domain situation, but also fail if trusted domain support is not enabled. Michael --- source/passdb/passdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c index d69da8f32e7..4e9f494c86b 100644 --- a/source/passdb/passdb.c +++ b/source/passdb/passdb.c @@ -1616,7 +1616,7 @@ bool get_trust_pw_hash(const char *domain, uint8 ret_pwd[16], E_md4hash(pwd, ret_pwd); SAFE_FREE(pwd); return true; - } else if (is_trusted_domain_situation(domain)) { + } else if (is_dc_trusted_domain_situation(domain)) { return false; } -- 2.47.3