weekly
missingok
rotate 7
+ minsize 4M
postrotate
[ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol smbd reload-config
endscript
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
-/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
; 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
; 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