On 11 May 2018 at 23:53, Jeremy Allison <jra at samba.org> wrote:> On Fri, May 11, 2018 at 09:33:15PM +0100, Rowland Penny via > samba-technical wrote: > > On Fri, 11 May 2018 13:17:52 -0700 > > Jeremy Allison <jra at samba.org> wrote: > > > > > On Fri, May 11, 2018 at 09:56:47PM +0200, Timur I. Bakeyev via samba > > > wrote: > > > > > > > > > Fixing it in both ways is easy, but it would be nice to hear from > > > > the developers, why did they choose such a limited set of syslog > > > > facilities. > > > > > > I don't know. The limited set was done a long time ago > > > (2005) by Deryck (no longer a Team member) in commit > > > 435295f1840aa8bd4c04f20a2348c6d701c6b7dc so I think > > > we've lost the institutional memory here. > > > > > > How about we fix the code to do what the man page > > > says ? > > > > > > Jeremy. > > > > What a good idea and thank you for volunteering ;-) > > Oh I walked into that one :-). > > OK, what do you need it to do ? >Originally topic starter wanted to put the AUTH facility into the config. It could be that it's the only one, together with DAEMON, that make sense there. From other side, for completeness it may be feasible to add full set of: static const CODE facilitynames[] = { { "auth", LOG_AUTH, }, { "cron", LOG_CRON, }, { "daemon", LOG_DAEMON, }, { "ftp", LOG_FTP, }, { "kern", LOG_KERN, }, { "lpr", LOG_LPR, }, { "mail", LOG_MAIL, }, { "news", LOG_NEWS, }, { "ntp", LOG_NTP, }, { "security", LOG_SECURITY, }, { "syslog", LOG_SYSLOG, }, { "user", LOG_USER, }, { "uucp", LOG_UUCP, }, { "local0", LOG_LOCAL0, }, { "local1", LOG_LOCAL1, }, { "local2", LOG_LOCAL2, }, { "local3", LOG_LOCAL3, }, { "local4", LOG_LOCAL4, }, { "local5", LOG_LOCAL5, }, { "local6", LOG_LOCAL6, }, { "local7", LOG_LOCAL7, }, { NULL, -1, } }; I've explicitly removed LOG_AUTHPRIV from this list. With regards, Timur.
Mandi! Timur I. Bakeyev via samba In chel di` si favelave...> Originally topic starter wanted to put the AUTH facility into the config.I've fired up: https://bugzilla.samba.org/show_bug.cgi?id=13436 Thanks to all! -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
For the list. A workaround can be use from here. http://linux-sys-adm.com/ubuntu-16.04-lts-how-to-configure-samba-full-audit/ I've updated the bugreport also. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Marco Gaiarin via samba > Verzonden: maandag 14 mei 2018 15:23 > Aan: Timur I. Bakeyev > CC: Stefan Metzmacher; samba-technical at lists.samba.org; > samba at lists.samba.org; Alexander Bokovoy; vl at samba.org; Jeremy Allison > Onderwerp: Re: [Samba] vfs_full_audit and facility 'auth'... > > Mandi! Timur I. Bakeyev via samba > In chel di` si favelave... > > > Originally topic starter wanted to put the AUTH facility > into the config. > > I've fired up: > > https://bugzilla.samba.org/show_bug.cgi?id=13436 > > > Thanks to all! > > -- > dott. Marco Gaiarin GNUPG > Key ID: 240A3D66 > Associazione ``La Nostra Famiglia'' > http://www.lanostrafamiglia.it/ > Polo FVG - Via della Bontà , 7 - 33078 - San Vito al > Tagliamento (PN) > marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 > f +39-0434-842797 > > Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! > http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 > (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
On Mon, 14 May 2018 16:33:33 +0200 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:> For the list. > > A workaround can be use from here. > http://linux-sys-adm.com/ubuntu-16.04-lts-how-to-configure-samba-full-audit/ > > I've updated the bugreport also. > >The problem is that vfs_full_audit claims to be able to use all the facilities that syslog does, unfortunately this is a lie ;-) Jeremy very kindly volunteered to fix this, so watch this space ;-) Rowland