s3: Fix a winbind crash when scanning trusts
authorVolker Lendecke <vl@samba.org>
Wed, 21 Apr 2010 15:04:49 +0000 (17:04 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 23 Apr 2010 08:35:52 +0000 (10:35 +0200)
commitc82fd3ed30ef2c804b6370d9d2ff1e1a6d2797f5
tree98590990bc27c3afb5d0c34fec219c50a23cfeaa
parent8f67f873ace91964da066c421986e260aceba75b
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().
source3/winbindd/winbindd_util.c