mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
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
This commit is contained in:
parent
27e20d5d60
commit
726ecf6a91
@ -1740,12 +1740,6 @@ static NTSTATUS init_dc_connection_network(struct winbindd_domain *domain)
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
if (!winbindd_can_contact_domain(domain)) {
|
||||
invalidate_cm_connection(&domain->conn);
|
||||
domain->initialized = True;
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
if (connection_ok(domain)) {
|
||||
if (!domain->initialized) {
|
||||
set_dc_type_and_flags(domain);
|
||||
|
Loading…
x
Reference in New Issue
Block a user