sesssetup.c: Add debug message.
authorKarolin Seeger <kseeger@samba.org>
Tue, 20 May 2008 09:09:06 +0000 (11:09 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 May 2008 09:09:06 +0000 (11:09 +0200)
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)

source3/smbd/sesssetup.c

index 5b0040314015ffa6680d9f7a4fdc68cf0e17da4e..f6aec7dddcc3fde0e589c881cc74c4f82e44dbda 100644 (file)
@@ -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;