Forest root trust flags won't overwrite child trust flags
commit65cf36fb2afdebdec8234ddc7d87a4cf5f871813
authorSteven Danneman <steven.danneman@isilon.com>
Tue, 25 Mar 2008 23:50:58 +0000 (25 16:50 -0700)
committerKarolin Seeger <kseeger@bando.sernet.private>
Tue, 1 Apr 2008 14:34:47 +0000 (1 16:34 +0200)
tree3ef99694921e9b335d33a28552fae532671ca8aa
parent509223eebcb964a4c87cd03c5bbae43cdbb7ffa3
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
(cherry picked from commit 6aac972d790ad5ca65096cb2e85e6819b60a5413)
source/winbindd/winbindd_ads.c
source/winbindd/winbindd_util.c