Forest root trust flags won't overwrite child trust flags
commit223071f01de8d85b594bab7c1f8514386da11281
authorSteven Danneman <steven.danneman@isilon.com>
Tue, 25 Mar 2008 23:50:58 +0000 (25 16:50 -0700)
committerGerald W. Carter <jerry@samba.org>
Mon, 31 Mar 2008 18:40:58 +0000 (31 13:40 -0500)
tree066a97b926a47406458842538bdba927700a2d06
parent0ad8a002ce90c7567952cf9923bae57136cff565
Forest root trust flags won't overwrite child trust flags

* changed the behavior of winbind_ads.c:trusted_domains() to not overwrite
existing trust information if we're joined to a child domain, and querying the
forest root domain.  Previously if we were joined to a child domain, we'd
request all known trust information from this child domain (our primary domain)
and store it in the tdc.  We'd then request all trust information from our tree
root (to get the forests we transitively trust) and overwrite the existing trust
information we already had from the perspective of the tree root.

* updated several comments and fixed typos
(This used to be commit 6aac972d790ad5ca65096cb2e85e6819b60a5413)
source3/winbindd/winbindd_ads.c
source3/winbindd/winbindd_util.c