From 1429f3b7cf293994b334052428fcdadcee162dea Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Tue, 20 May 2008 11:09:06 +0200 Subject: [PATCH] sesssetup.c: Add debug message. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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 --- source/smbd/sesssetup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c index 5b004031401..f6aec7dddcc 100644 --- a/source/smbd/sesssetup.c +++ b/source/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; -- 2.11.4.GIT