[syslog-ng] syslog-ng with samba

Dev Anand deva.security at gmail.com
Fri Mar 10 02:06:52 CET 2006


Yes you were absolutely right. I havent made any changes to the
smb.conf to log to the syslog first .

Thanks for your suggestion . I will be trying it today and update you
of the status.

Cheerz
- Deva

On 3/9/06, Jesse Molina <jesse at opendreams.net> wrote:
>
> Perhaps your samba daemons are writing directly to log files and not
> routing through syslog, as you apparently want them to.  Grep your
> smb.conf files for "log"  There is an option, "syslog=1" to enable it,
> which is the default.
>
> Otherwise, perhaps your filter is not matching the messages, thus not
> being routed to the destination option like you desire.
>
> I use something like;
>
> filter f_samba_smbd { program("smbd.*"); };
> filter f_samba_nmbd { program("nmbd.*"); };
>
>
>
> Dev Anand wrote:
> > Hi All ,
> >
> > Well I have a good and working version of syslog-ng with phpsyslog
> > enabled and reports properly generated.
> >
> > There is only one issue . I have three different samba servers which
> > are not sending their logs but I get other logs from the same servers
> > like cron and logins and other stuff.
> >
> > Please advise.
> >
> > Thanks in  advance.
> >
> > Regards
> > Deva
> > _______________________________________________
> > syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> > https://lists.balabit.hu/mailman/listinfo/syslog-ng
> > Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> >
>
> --
> # Jesse Molina
> # Mail = jesse at opendreams.net
> # Page = page-jesse at opendreams.net
> # Cell = 1.602.323.7608
> # Web  = http://www.opendreams.net/jesse/
>
>
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>


More information about the syslog-ng mailing list