From bb945df0ef3cb9ee73cbba58e2a5ac9267073872 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 20 Mar 2015 16:02:58 +1300 Subject: [PATCH] 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 Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- python/samba/kcc_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/samba/kcc_utils.py b/python/samba/kcc_utils.py index 0a49448f5dd..3755c7ecd4f 100644 --- a/python/samba/kcc_utils.py +++ b/python/samba/kcc_utils.py @@ -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) -- 2.34.1