diff options
| author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2015-03-20 16:02:58 +1300 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2015-05-29 06:58:26 +0200 |
| commit | bb945df0ef3cb9ee73cbba58e2a5ac9267073872 (patch) | |
| tree | f65ec6189123a353c2ed7e0f7bc9a43578e466e4 /python | |
| parent | e299fbcc40ac5bbbafa16069f390b1e188d1ba6a (diff) | |
| download | samba-bb945df0ef3cb9ee73cbba58e2a5ac9267073872.tar.gz samba-bb945df0ef3cb9ee73cbba58e2a5ac9267073872.tar.bz2 samba-bb945df0ef3cb9ee73cbba58e2a5ac9267073872.zip | |
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>
Diffstat (limited to 'python')
| -rw-r--r-- | python/samba/kcc_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
