/var/log/samba/log.winbindd {
	weekly
	missingok
	rotate 7
	postrotate
		if [ -f /var/run/samba/winbindd.pid ]; then
			if [ -x /usr/bin/smbcontrol ]; then
				/usr/bin/smbcontrol winbindd reload-config
			elif [ -f /run/samba/winbindd.pid ]; then
				kill -HUP `cat /run/samba/winbindd.pid`
			fi
		fi
	endscript
	compress
	delaycompress
	notifempty
}
