mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3: Add debugs to shutdown_other_smbds
This commit is contained in:
parent
f94039a8ea
commit
02002a52f2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user