diff options
-rw-r--r-- | source3/smbd/sesssetup.c | 6 |
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; } |