summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-04-14 06:40:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:20 -0500
commita633b42592080982b38f5e3cde8d32bf2fd80e7e (patch)
tree59cef09736a7501274009f917d9252b713bcbb1a /source3/smbd/process.c
parent282018a366dec480597c08df310a7826c079b692 (diff)
downloadsamba-a633b42592080982b38f5e3cde8d32bf2fd80e7e.tar.gz
samba-a633b42592080982b38f5e3cde8d32bf2fd80e7e.tar.bz2
samba-a633b42592080982b38f5e3cde8d32bf2fd80e7e.zip
r22213: We can't use become_root() here, as it does DEBUG()
itself. become_root_uid_only did not :-) Revert 21868, we need to find a better way. Volker (This used to be commit 629f966714c7a8d96b06027d514b86cde81b69b9)
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index c5db007525..6f3ad9884c 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1406,6 +1406,13 @@ machine %s in domain %s.\n", global_myname(), lp_workgroup()));
update_monitored_printq_cache();
+ /*
+ * Now we are root, check if the log files need pruning.
+ * Force a log file check.
+ */
+ force_check_log_size();
+ check_log_size();
+
/* Send any queued printer notify message to interested smbd's. */
print_notify_send_messages(0);