From 02002a52f243d29d61f62802c7e0d878b3d84a34 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 15 Aug 2010 09:48:19 +0200 Subject: s3: Add debugs to shutdown_other_smbds --- source3/smbd/sesssetup.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 41fdc7d22f..2536a99117 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -1381,15 +1381,21 @@ static int shutdown_other_smbds(const struct connections_key *key, { struct shutdown_state *state = (struct shutdown_state *)private_data; + DEBUG(10, ("shutdown_other_smbds: %s, %s\n", + procid_str(talloc_tos(), &crec->pid), crec->addr)); + if (!process_exists(crec->pid)) { + DEBUG(10, ("process does not exist\n")); return 0; } if (procid_is_me(&crec->pid)) { + DEBUG(10, ("It's me\n")); return 0; } if (strcmp(state->ip, crec->addr) != 0) { + DEBUG(10, ("%s does not match %s\n", state->ip, crec->addr)); return 0; } -- cgit