From: Karolin Seeger Date: Tue, 20 May 2008 09:09:06 +0000 (+0200) Subject: sesssetup.c: Add debug message. X-Git-Tag: samba-3.3.0pre1~1188^2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1429f3b7cf293994b334052428fcdadcee162dea;p=thirdparty%2Fsamba.git 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 . Karolin --- 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;