Fix bug #8293 - SMB2 doesn't rotate the log files often enough.
commit8dc7029561b4d2e02b1f12583b7b871fd4d2ba14
authorJeremy Allison <jra@samba.org>
Thu, 7 Jul 2011 21:59:41 +0000 (7 14:59 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 7 Jul 2011 23:14:53 +0000 (8 01:14 +0200)
treeeae69cfe1317e08b390365451df97a92d8d73892
parenteea210eba7c20e6d04b13cf8ccd3011ee7c99157
Fix bug #8293 - SMB2 doesn't rotate the log files often enough.

Move the num_requests field out of the smb1 struct into the generic
struct smbd_server_connection struct. Use it to count SMB2 requests
as well as SMB1 and ensure that check_log_size() is called every 50
SMB2 requests.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jul  8 01:14:53 CEST 2011 on sn-devel-104
source3/smbd/globals.h
source3/smbd/process.c
source3/smbd/smb2_server.c