From bdcc7ddc1ec692a9c8420426b8b2413bf0f7e1a2 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Tue, 20 May 2008 11:09:06 +0200 Subject: sesssetup.c: Add debug message. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 . Karolin (This used to be commit 1429f3b7cf293994b334052428fcdadcee162dea) --- source3/smbd/sesssetup.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit