]> Frank Brehm's Git Trees - config/bruni/etc-mint.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Tue, 16 Oct 2018 22:08:56 +0000 (00:08 +0200)
committerFrank Brehm <frank@brehm-online.com>
Tue, 16 Oct 2018 22:08:56 +0000 (00:08 +0200)
logrotate.d/samba
logrotate.d/winbind
samba/smb.conf

index 8a9632bfcffada78c8f51d0d4286f9f265260f6f..ff0ba2e778c725b5a0b849d8080183d3b27cb763 100644 (file)
@@ -2,6 +2,7 @@
        weekly
        missingok
        rotate 7
+       minsize 4M
        postrotate
                [ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol smbd reload-config
        endscript
@@ -14,6 +15,7 @@
        weekly
        missingok
        rotate 7
+       minsize 4M
        postrotate
                [ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol nmbd reload-config
        endscript
        notifempty
 }
 
-/var/log/samba/log.samba {
+/var/log/samba/log.samba /var/log/samba/samba.log {
        weekly
        missingok
        rotate 7
+       minsize 4M
        postrotate
                if [ -d /run/systemd/system ] && command systemctl >/dev/null 2>&1 && systemctl is-active --quiet samba-ad-dc; then
                        systemctl kill --kill-who all --signal=SIGHUP samba-ad-dc
index 43ae1afbcadc5363942ac25c45ad851132514d35..b5443ffb9934c11734853c3a972755ea1b741b42 100644 (file)
@@ -1,7 +1,12 @@
-/var/log/samba/log.winbindd {
+/var/log/samba/log.winbindd
+/var/log/samba/log.winbindd-idmap
+/var/log/samba/log.wb-BRUNI
+/var/log/samba/log.wb-BUILTIN
+{
        weekly
        missingok
        rotate 7
+       minsize 4M
        postrotate
                if [ -x /usr/bin/smbcontrol ]; then
                        /usr/bin/smbcontrol winbindd reload-config
index 81f31ef70a2c91313e02a8ec062911b1ae8989fb..bfe9a89638f5035ab169e85a0a3f52124005c61f 100644 (file)
@@ -24,7 +24,8 @@
 ;      printing = cups
        guest account = gast
        log file = /var/log/samba/samba.log
-       max log size = 5120
+       ;max log size = 5120
+       max log size = 0
        #null passwords = no
        username level = 6
        #password level = 6
@@ -38,7 +39,8 @@
 ;      domain logons = no
        os level = 33
        #logging = syslog@2 file
-       log level = 3 passdb:10 auth:10
+       #log level = 3 passdb:10 auth:10
+       log level = 2
        logon drive = m:
        logon home = \\%L\homes\%u
        logon path = \\%L\profiles\%u