samba_kcc: Fix compile failures and correctly implement MS-ADTS 6.2.2.3.1 ISTG selection
commitfc932eace8ace5a4cc21b75c7c91f3f1d554948a
authorAndrew Bartlett <abartlet@samba.org>
Tue, 17 Feb 2015 23:13:38 +0000 (18 12:13 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 May 2015 05:25:07 +0000 (28 07:25 +0200)
tree5f1c5e082f1d11e35b8e54a6f58e90ae6574defb
parent17da38b99f0e118937b08e2ad7b39bd76331b547
samba_kcc: Fix compile failures and correctly implement MS-ADTS 6.2.2.3.1 ISTG selection

The previous code did not operate as c_rep.source_dsa_invocation_id was not valid, and in any case
this was not the correct check.  We need to look for the old interSiteTopologyGenerator in our
list of replication partners, and confirm it is current.

Andrew Bartlett

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