[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Sun Aug 15 01:50:54 MDT 2010
The branch, master has been updated
via 98187fe... s3: Increase debug level for shutdown_other_smbds
via 02002a5... s3: Add debugs to shutdown_other_smbds
from f94039a... s3: Fix a typo
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 98187fe3092273713b7ac9f8dada01bc5485c7ef
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 09:48:53 2010 +0200
s3: Increase debug level for shutdown_other_smbds
commit 02002a52f243d29d61f62802c7e0d878b3d84a34
Author: Volker Lendecke <vl at samba.org>
Date: Sun Aug 15 09:48:19 2010 +0200
s3: Add debugs to shutdown_other_smbds
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/sesssetup.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 41fdc7d..cca3a1a 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -1381,21 +1381,27 @@ 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;
}
- DEBUG(0,("shutdown_other_smbds: shutting down pid %u "
- "(IP %s)\n", (unsigned int)procid_to_pid(&crec->pid),
- state->ip));
+ DEBUG(1, ("shutdown_other_smbds: shutting down pid %u "
+ "(IP %s)\n", (unsigned int)procid_to_pid(&crec->pid),
+ state->ip));
messaging_send(state->msg_ctx, crec->pid, MSG_SHUTDOWN,
&data_blob_null);
--
Samba Shared Repository
More information about the samba-cvs
mailing list