Well, Please throw this bug report away if you find it irrelevant. The smb.conf file have the statement 'log file = /usr/samba/var/log.%m' This requires a file statement in the logrotate config file as: /usr/samba/var/log.* This will move /usr/samba/var/log.nmdb to /usr/samba/var/log.nmdb.1.gz the first week Next week will you get /usr/samba/var/log.nmdb /usr/samba/var/log.nmdb.1.gz /usr/samba/var/log.nmdb.2.gz /usr/samba/var/log.nmdb.1.gz.1.gz since /usr/samba/var/log.nmdb.1.gz also matches in the logrotate config file. I propose that the log file statement should be changed to 'log file = /usr/samba/var/%m.log' This will make logrotate much easier to configure. /Magnus
actually %m.log was at one point a source of a security hole due to variable expansion based on strings sent from the client. A better solution is to simply put all the log information in one file log file = /var/log/log/smbd.log I'll look into this.
set log file to smbd.log for smb.conf.default, RedHat and Fedora packages
originally reported against one of the 3.0.0rc[1-4] releases. Cleaning up non-production versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.