Displaying 7 results from an estimated 7 matches for "log_local7".
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:
2016 Jan 09
1
Logging levels
...recently upgraded from Samba v3.6.25 to v4.3.3. After the upgrade, I
realized I should change my smb.conf because the syslog parameters are
deprecated. My old parameters were:
log level = 1
syslog = 6
syslog only = yes
Also, I built Samba with --with-syslog-facility=LOG_LOCAL7.
I'm having trouble replicating the same configuration with v4.3.3. The
syslog facility configure option was removed, so I'm not sure how to
specify the facility. It uses LOG_DAEMON. Is there a way to specify the
syslog facility?
My configuration now is:
log level = 1...
2018 May 11
0
vfs_full_audit and facility 'auth'...
..."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;
}
Clearly, the only possible facilities are LOCAL* an...
2018 May 11
0
vfs_full_audit and facility 'auth'...
...gt; > > { 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 limitation in place?
> >
> > Good questions and I don&...
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_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 limitation in place?
> > >
&g...
2018 May 11
3
vfs_full_audit and facility 'auth'...
...{ "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.