KCC: Don't form self connections
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 20 Mar 2015 02:31:57 +0000 (15:31 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 29 May 2015 04:58:26 +0000 (06:58 +0200)
commit68ef17f8ee8a103c95551e37c657fc39429ce47e
tree9e10ffa13dc3fb4e93deed05119936f67c2cb692
parent6146a8a3f8e0c9e2aac932c270887b9fc62f923a
KCC: Don't form self connections

This was a bug found in the original script.

We have found a remote bridgehead to connect to, but we were accidentally
connection to ourselves instead. Oops.

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>
source4/scripting/bin/samba_kcc