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:
parent
736ecf0244
commit
5246a13988
@ -1799,14 +1799,9 @@ class GraphNode(object):
|
||||
#
|
||||
# c.options does not contain NTDSCONN_OPT_RODC_TOPOLOGY
|
||||
if connect and not connect.is_rodc_topology():
|
||||
exists = True
|
||||
else:
|
||||
exists = False
|
||||
|
||||
continue
|
||||
# if no such object exists then the KCC adds an object
|
||||
# c with the following attributes
|
||||
if exists:
|
||||
return
|
||||
|
||||
# Generate a new dnstr for this nTDSConnection
|
||||
opt = dsdb.NTDSCONN_OPT_IS_GENERATED
|
||||
|
Loading…
Reference in New Issue
Block a user