kcc: Allow RODC to be included in intersite topology
authorGarming Sam <garming@catalyst.net.nz>
Wed, 29 Apr 2015 23:26:18 +0000 (11:26 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 12 Jun 2015 04:57:14 +0000 (06:57 +0200)
commita0b0a0f91a16c7ac1d0c77c7678425697fef3ab6
treecf4790139e89ede83a3dd65d536da8ccec7ef523
parent7c6a6f2bd8e852c69b6f588b5ce1bef01f7745dc
kcc: Allow RODC to be included in intersite topology

This creates behaviour not described by ADTS. RODC are now treated as
RED, however they are demoted to the equivalent of WHITE when running
the first half of the algorithm.

The change implies that RED does in fact refer to full-replicas, not
writable replicas.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/kcc/__init__.py
python/samba/kcc/kcc_utils.py