s3: Fix a winbind segfault in "trusted_domains"
commit3b9cdab89672576ddfe6f7c2be54169fb4dd7634
authorVolker Lendecke <vl@samba.org>
Wed, 13 Jan 2010 11:20:26 +0000 (13 12:20 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Jan 2010 14:10:10 +0000 (14 15:10 +0100)
treec228fd0fb07c11733fa8531375a81ff8a30ae86e
parentdbbe7c5949f2e5728577e1a1146c0b72b1b482c0
s3: Fix a winbind segfault in "trusted_domains"

We have to initialize domain->backend by calling "get_cache" before doing a
query

Thanks to Christian Ambach to find this :-)
(cherry picked from commit 026b23062eeee23dffeb627800b3cb6f55d89ad6)

Fix bug #7037.
source3/winbindd/winbindd_cache.c