KCC: Help RW DCs to ignore RODCs when doing kcc
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 27 Mar 2015 05:08:53 +0000 (18:08 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 29 May 2015 09:08:21 +0000 (11:08 +0200)
commit39da46e72c20a089efe2a2c66bca7342b87bec13
treed8807825f71e8c53f4592aada93cb4d699fc4b06
parentceb6ab99b5b352ebcdf648581ec92ae34e236ba5
KCC: Help RW DCs to ignore RODCs when doing kcc

As far as writable DCs are concerned, RODCs don't even exist. So we make
tables that leave out the RO ones.

An RODC needs to know itself as well as writable DCs, so we add it in
that case.

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>
python/samba/kcc_utils.py
source4/scripting/bin/samba_kcc