summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2015-04-14 14:31:05 +1200
committerAndrew Bartlett <abartlet@samba.org>2015-05-29 11:08:22 +0200
commit2f3ce1753ae6b1af9986c2ed3b3d7fe8272700c2 (patch)
tree6479c1ccd4f60b4715f7a846b64b91a99f7447f7 /source4
parentc3dc87eac021fdb6c942a512429ed6ca973e32b0 (diff)
downloadsamba-2f3ce1753ae6b1af9986c2ed3b3d7fe8272700c2.tar.gz
KCC: more debugging changes
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>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/bin/samba_kcc7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/scripting/bin/samba_kcc b/source4/scripting/bin/samba_kcc
index 28c4dfe4918..13764f8e062 100755
--- a/source4/scripting/bin/samba_kcc
+++ b/source4/scripting/bin/samba_kcc
@@ -1554,6 +1554,7 @@ class KCC(object):
# object cn that is a child of lbh, cn!enabledConnection = TRUE,
# cn!options = opt, cn!transportType is a reference to t,
# cn!fromServer is a reference to rbh, and cn!schedule = sch
+ DEBUG_FN("new connection, KCC dsa: %s" % self.my_dsa.dsa_dnstr)
cn = lbh.new_connection(opt, 0, transport,
rbh.dsa_dnstr, link_sched)
@@ -2234,9 +2235,9 @@ class KCC(object):
DEBUG_RED("could not add %s" % other.dsa_dstr)
candidates.remove(other)
else:
- DEBUG_CYAN("not adding links to %s: nodes %s, links is %s/%s" %
- (tnode.dsa_dnstr, r_len, len(tnode.edge_from),
- tnode.max_edges))
+ DEBUG_FN("not adding links to %s: nodes %s, links is %s/%s" %
+ (tnode.dsa_dnstr, r_len, len(tnode.edge_from),
+ tnode.max_edges))
# Print the graph node in debug mode
logger.debug("%s" % tnode)