It does seem to be limiting the log.smbd file to 5M, but the log.samba file just keeps growing. Is there another option for this log file? If so, I haven't come across it yet. I can do this in logrotate, but I'd rather use a samba directive so I don't have to restart samba.
$ ls -lh /var/log/samba total 137M drwx------ 3 root root 4.0K 2015-02-24 20:29 cores/ -rw-r--r-- 1 root root 129M 2015-03-13 02:37 log.samba -rw-r--r-- 1 root root 3.0M 2015-03-13 02:39 log.smbd -rw-r--r-- 1 root root 4.9M 2015-03-13 01:49 log.smbd.old
From novice to tech pro — start learning today.