Always trust the domain flags in the wcache trusted domain cache.
authorGerald W. Carter <jerry@samba.org>
Fri, 25 Jan 2008 18:21:14 +0000 (12:21 -0600)
committerGerald W. Carter <jerry@samba.org>
Fri, 25 Jan 2008 18:29:47 +0000 (12:29 -0600)
commit235deb1b66ccfb4a264010e8ffe11a3a3682ac0d
tree07e2753bfc5b7ca00cb0d6e941d3fd8ae8066a1e
parentfda9247770577a98606c91973f98a7e53123a40c
Always trust the domain flags in the wcache trusted domain cache.

Use the flags stored in the tdb when determining if a domain can
be contacted.  The tdb should be considered authoratative anyways unless
you know the flags in the winbindd_domain are correct (such as when
first enumerating trusts).

Original suggestion and patch from Steven Danneman <steven.danneman@isilon.com>.
Manually rewritten by me for 3.2.
(This used to be commit f53658a20de07a29abbe2e90917b328d00fc0024)
source3/winbindd/winbindd_util.c