samba: Log to syslog

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-10-08 22:08:52 +01:00
parent 1661f0f37f
commit 13e455aec7
8 changed files with 5 additions and 49 deletions

View File

@@ -67,6 +67,7 @@ my %sections = (
'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )',
'pakfire' => '(pakfire:)',
'red' => '(red:|pppd\[.*\]: |chat\[.*\]|pppoe\[.*\]|pptp\[.*\]|pppoa\[.*\]|pppoa3\[.*\]|pppoeci\[.*\]|ipppd|ipppd\[.*\]|kernel: ippp\d|kernel: isdn.*|ibod\[.*\]|dhcpcd\[.*\]|modem_run\[.*\])',
'samba' => '(nmbd|smbd|winbind)\[\d+\]:',
'suricata' => '(suricata: )',
'squid' => '(squid\[.*\]: |squid: )',
'ssh' => '(sshd(?:\(.*\))?\[.*\]: )',
@@ -95,6 +96,7 @@ my %trsections = (
'openvpn' => 'OpenVPN',
'pakfire' => 'Pakfire',
'red' => 'RED',
'samba' => $Lang::tr{'samba'},
'suricata' => "$Lang::tr{'intrusion detection'}",
'squid' => "$Lang::tr{'web proxy'}",
'ssh' => 'SSH',