From 6efce4738ff28c4f24c8b80be05893bb1643a788 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 26 May 2008 12:31:44 +0200 Subject: 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 (This used to be commit aa1b8287f44f47f23bd4158112d0a132df04426c) --- source3/passdb/passdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/passdb/passdb.c') diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index d69da8f32e..4e9f494c86 100644 --- a/source3/passdb/passdb.c +++ b/source3/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; } -- cgit