summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2008-05-20 11:09:06 +0200
committerKarolin Seeger <kseeger@samba.org>2008-05-20 11:09:06 +0200
commitbdcc7ddc1ec692a9c8420426b8b2413bf0f7e1a2 (patch)
treec6974c554eeab43c44acd6b1ad5171fef107d19d /source3/smbd
parent2e779c356247a21344d0befea8ed0640d94c04cc (diff)
downloadsamba-bdcc7ddc1ec692a9c8420426b8b2413bf0f7e1a2.tar.gz
samba-bdcc7ddc1ec692a9c8420426b8b2413bf0f7e1a2.tar.bz2
samba-bdcc7ddc1ec692a9c8420426b8b2413bf0f7e1a2.zip
sesssetup.c: Add debug message.
Log when we kill other smbd sessions like when we hit the VC == 0 case. This one fixes BUG #5476. Initial patch from Björn Jacke <bj@sernet.de>. Karolin (This used to be commit 1429f3b7cf293994b334052428fcdadcee162dea)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/sesssetup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 5b00403140..f6aec7dddc 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -1352,6 +1352,9 @@ static int shutdown_other_smbds(struct db_record *rec,
return 0;
}
+ DEBUG(0,("shutdown_other_smbds: shutting down pid %d "
+ "(IP %s)\n", crec->pid, ip));
+
messaging_send(smbd_messaging_context(), crec->pid, MSG_SHUTDOWN,
&data_blob_null);
return 0;