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)
commitf53658a20de07a29abbe2e90917b328d00fc0024
tree09a96eb177ea7386bb16617da986dc1db2b2747c
parent8b063a414149bdf401a8f854d55ed7dc6f94cb60
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.
source/winbindd/winbindd_util.c