1) Please make samba respect "samba_logdir" in rc.conf:
In /etc/rc.d/samba change lines;
Code: Select all
(106) nmbd_flags="${nmbd_flags=\"-D\"}"
(108) smbd_flags="${smbd_flags=\"-D\"}"
to:
Code: Select all
(106) nmbd_flags="${nmbd_flags=\"-l=${samba_logdir}\"}"
(108) smbd_flags="${smbd_flags=\"-l=${samba_logdir}\"}"
2) In addition to "Accept remote syslog messages", please add an option to accept syslog from unprivileged ports. Currently, the remote syslog service must send outgoing packets on port 514, or syslogd will reject it. However some systems (my ASUS router, for instance) send the outgoing syslog on an unprivileged port. The code in /etc/rc.d/syslogd that determines the network and subnet could be modified as such:
Code: Select all
(62) syslogd_peers="${_network}:*"
I think you can safely assume anyone who specifies a peer in rc.conf would either specify the port or configure the remote system to send on port 514.