Displaying 6 results from an estimated 6 matches for "log_local6".
Did you mean:
log_local
2018 May 11
4
vfs_full_audit and facility 'auth'...
On Fri, 11 May 2018 09:14:24 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! Rowland Penny via samba
> In chel di` si favelave...
>
> > You would replace 'FACILITY' with one of the facilities shown in
> > 'man syslog' e.g. full_audit:facility = LOG_AUTH
>
> OK, done. But samba (as stated in previous email) still reply:
2018 May 11
0
vfs_full_audit and facility 'auth'...
..."LOCAL0" },
{ LOG_LOCAL1, "LOCAL1" },
{ LOG_LOCAL2, "LOCAL2" },
{ LOG_LOCAL3, "LOCAL3" },
{ LOG_LOCAL4, "LOCAL4" },
{ LOG_LOCAL5, "LOCAL5" },
{ LOG_LOCAL6, "LOCAL6" },
{ LOG_LOCAL7, "LOCAL7" },
{ -1, NULL}
};
int facility;
facility = lp_parm_enum(SNUM(handle->conn), "full_audit",
"facility", enum_log_facilities, LOG_USER);
return facility;
}...
2018 May 11
0
vfs_full_audit and facility 'auth'...
...gt; > > { LOG_LOCAL2, "LOCAL2" },
> > > { LOG_LOCAL3, "LOCAL3" },
> > > { LOG_LOCAL4, "LOCAL4" },
> > > { LOG_LOCAL5, "LOCAL5" },
> > > { LOG_LOCAL6, "LOCAL6" },
> > > { LOG_LOCAL7, "LOCAL7" },
> >
>
>
> > > Clearly, the only possible facilities are LOCAL* and USER. That
> > > raises the question why it's not mentioned in the man page and
> > > why is this...
2018 May 11
2
vfs_full_audit and facility 'auth'...
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
2018 May 11
3
vfs_full_audit and facility 'auth'...
...{ LOG_LOCAL2, "LOCAL2" },
> > > > { LOG_LOCAL3, "LOCAL3" },
> > > > { LOG_LOCAL4, "LOCAL4" },
> > > > { LOG_LOCAL5, "LOCAL5" },
> > > > { LOG_LOCAL6, "LOCAL6" },
> > > > { LOG_LOCAL7, "LOCAL7" },
> > >
> >
> >
> > > > Clearly, the only possible facilities are LOCAL* and USER. That
> > > > raises the question why it's not mentioned in the man page an...
2018 May 11
3
vfs_full_audit and facility 'auth'...
...{ "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.