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

KCC: set site topo_generator in RO case, for debug clarity

This has no actual effect except that it makes the Site object print with
the site_topo_generator that is actually used (because RODCs are always
their own topology generators and this variable doesn't affect that).

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-20 16:02:58 +13:00 committed by Andrew Bartlett
parent e299fbcc40
commit bb945df0ef

View File

@ -1472,6 +1472,7 @@ class Site(object):
# The KCC on an RODC always acts as an ISTG for itself
if mydsa.dsa_is_ro:
mydsa.dsa_is_istg = True
self.site_topo_generator = mydsa.dsa_dnstr
return True
c_rep = get_dsa_config_rep(mydsa)