KCC: simplify repsfrom pruning in KCC.translate_ntdsconn()
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 30 Apr 2015 00:36:18 +0000 (12:36 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 12 Jun 2015 04:57:14 +0000 (06:57 +0200)
commit7f4b7fed1e7619b5cc6af38c8d40dddf840e5737
tree70e24cf0c6076dd7dded62c8f1075737aeb1944b
parent7e8a1a8ae9220da4e94a4891b58b6ecad2418d99
KCC: simplify repsfrom pruning in KCC.translate_ntdsconn()

This section is actually quite simple -- we don't want a repsFrom if
there is no DRS connection -- but the existing comments and code had
managed to cause us hours of confusion and much gnashing teeth, the
evidence of which will hopefully have been squashed out of the git
history by the time you read this.

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/__init__.py