summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 09:48:19 +0200
committerVolker Lendecke <vl@samba.org>2010-08-15 09:50:12 +0200
commit02002a52f243d29d61f62802c7e0d878b3d84a34 (patch)
tree3693d415303d0d346a5421ab2e9c3b140476b742
parentf94039a8ea9c59c481e98e53080fe37d05c883a4 (diff)
downloadsamba-02002a52f243d29d61f62802c7e0d878b3d84a34.tar.gz
samba-02002a52f243d29d61f62802c7e0d878b3d84a34.tar.bz2
samba-02002a52f243d29d61f62802c7e0d878b3d84a34.zip
s3: Add debugs to shutdown_other_smbds
-rw-r--r--source3/smbd/sesssetup.c6
1 files changed, 6 insertions, 0 deletions
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;
}