1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

KCC: do not skip unrelated edges when rodc topology is found

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:
Douglas Bagnall 2015-03-13 13:53:51 +13:00 committed by Andrew Bartlett
parent 736ecf0244
commit 5246a13988

View File

@ -1799,14 +1799,9 @@ class GraphNode(object):
# #
# c.options does not contain NTDSCONN_OPT_RODC_TOPOLOGY # c.options does not contain NTDSCONN_OPT_RODC_TOPOLOGY
if connect and not connect.is_rodc_topology(): if connect and not connect.is_rodc_topology():
exists = True continue
else:
exists = False
# if no such object exists then the KCC adds an object # if no such object exists then the KCC adds an object
# c with the following attributes # c with the following attributes
if exists:
return
# Generate a new dnstr for this nTDSConnection # Generate a new dnstr for this nTDSConnection
opt = dsdb.NTDSCONN_OPT_IS_GENERATED opt = dsdb.NTDSCONN_OPT_IS_GENERATED