KCC: Use ndrpack(GUID) sorting for all graph vertex operations
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Mon, 16 Mar 2015 22:50:02 +0000 (11:50 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 29 May 2015 04:58:25 +0000 (06:58 +0200)
commit7e4dfb7e7508fc5bf1af54ad22f2d850030a96ce
tree6839862cbec9e1dd9d8e8eebb92195dd64034f8e
parentabfb70272c87c62a3d71115588e1d43908749a89
KCC: Use ndrpack(GUID) sorting for all graph vertex operations

For intrasite rings, DSA GUIDs are sorted by their ndr_pack
representation, not their string/as-if-128-bit-int representation.

Supposing some consistency across KCC, the graph vertex guids might be
compared the same way. But we don't yet know for sure.

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