passdb: check for is_dc_trusted_domain_situation() in get_trust_pw_hash().
commitaa1b8287f44f47f23bd4158112d0a132df04426c
authorMichael Adam <obnox@samba.org>
Mon, 26 May 2008 10:31:44 +0000 (26 12:31 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 26 May 2008 14:42:24 +0000 (26 16:42 +0200)
tree17d3db9ecfeebd46bf5a06f0e7c02b9f2e54c624
parent5f197c659e9c8a573ba5032c7f90c816df45770c
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