s3: Fix a winbind crash when scanning trusts
authorVolker Lendecke <vl@samba.org>
Wed, 21 Apr 2010 15:04:49 +0000 (17:04 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sun, 25 Apr 2010 06:52:28 +0000 (08:52 +0200)
commita356b04933e65aed9a6c38611bcbfce3b297d092
tree3e4e2e4ed1242429d2aefb177388139c27a2b444
parent3e6f961a7a6b4d0e41d0cf2c47ca2aebeea8f6af
s3: Fix a winbind crash when scanning trusts

add_trusted_domain() for a new domain always needs to be followed by a
setup_domain_child(). This was not always done, in particular not when walking
to the forest root for additional trusts.

This is a minimal patch, we need to fix add_trusted_domain().

Fix bug #7389 (Fix a winbind crash when scanning trusted domains).
source3/winbindd/winbindd_util.c