Fix bug #9016 - Connection to outbound trusted domain goes offline.
authorJeremy Allison <jra@samba.org>
Fri, 13 Jul 2012 23:25:23 +0000 (16:25 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Nov 2012 08:10:35 +0000 (09:10 +0100)
commitbf27038ead0be058cf7f3fca19ddc67ed808c8a0
treea55ac656bfb0d685c47b45b4abaf115cd06c2bf9
parent3243e66f5a1da68287f3e8bccf07b35c73457ef6
Fix bug #9016 - Connection to outbound trusted domain goes offline.

By the time we've gotten to init_dc_connection_network() we shouldn't
be second guessing the caller by calling winbindd_can_contact_domain().

If for some reason we do need to restrict the contact list here we
can add a condition to only contact the primary domain or domains
listed in the tdc cache, but I don't think that's neccessary.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jul 14 03:17:57 CEST 2012 on sn-devel-104
(cherry picked from commit 726ecf6a915ff534af4076e9d0cdebf8b5435d61)
(cherry picked from commit d4faae3dbdfdd600bbf9bddb2589b8a6dc8434b6)
(cherry picked from commit 265ff5579b2671db250928b631b35e4df3b9a7f6)
source3/winbindd/winbindd_cm.c