mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
KCC: stop --forget-intersite-links forgetting local links
It will still forget intrasite links on other sites, but that in theory should not matter. It will still break your network, and is only useful for debugging. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
eec0d119ac
commit
24ae662eae
@ -2507,7 +2507,9 @@ class KCC(object):
|
||||
for dsa in self.my_site.dsa_table.values():
|
||||
dsa.connect_table = dict((k, v) for k, v in
|
||||
dsa.connect_table.items()
|
||||
if v.is_rodc_topology())
|
||||
if v.is_rodc_topology() or
|
||||
(v.from_dnstr not in
|
||||
self.my_site.dsa_table))
|
||||
self.plot_all_connections('dsa_forgotten_local')
|
||||
|
||||
if forget_intersite_links:
|
||||
|
Loading…
Reference in New Issue
Block a user