Displaying 7 results from an estimated 7 matches for "lp_parm_enum".
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'...
..." },
{ 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* and USER. That raises the
question why it's not mentioned in the man page and why is this limitation
in place?
With...
2009 Mar 20
1
vfs full_audit panic
...d) [0x59a00d]
Dec 29 13:57:07 lua smbd_audit: #2 smbd [0x584b9a]
Dec 29 13:57:07 lua smbd_audit: #3 [0xf99420]
Dec 29 13:57:07 lua smbd_audit: #4 smbd(StrCaseCmp+0x1a) [0x5916ba]
Dec 29 13:57:07 lua smbd_audit: #5 smbd(strequal+0x35) [0x591925]
Dec 29 13:57:07 lua smbd_audit: #6 smbd(lp_parm_enum+0x6b) [0x3ab5ab]
Dec 29 13:57:07 lua smbd_audit: #7 /usr/lib/samba/vfs/full_audit.so
[0xdde487]
Dec 29 13:57:07 lua smbd_audit: #8 /usr/lib/samba/vfs/full_audit.so
[0xde0b5c]
Dec 29 13:57:07 lua smbd_audit: #9 smbd(rename_internals+0x118f) [0x3e5d5f]
Dec 29 13:57:07 lua smbd_audit: #10...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...;
>
> static bool init_acl_common_config(vfs_handle_struct *handle)
> @@ -65,6 +73,11 @@ static bool init_acl_common_config(vfs_handle_struct *handle)
> ACL_MODULE_NAME,
> "ignore system acls",
> false);
> + config->default_acl_style = lp_parm_enum(SNUM(handle->conn),
> + ACL_MODULE_NAME,
> + "default acl style",
> + default_acl_style,
> + DEFAULT_ACL_POSIX);
>
> SMB_VFS_HANDLE_SET_DATA(handle, config, NULL,
> struct acl_common_config,
> @@ -387,10 +400,10 @@ static NTSTATU...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 06:33:26PM +0200, Ralph Böhme via samba wrote:
> On Thu, Aug 25, 2016 at 12:14:00PM -0700, Jeremy Allison wrote:
> > On Wed, Aug 24, 2016 at 04:06:42PM +0200, Ralph Böhme via samba wrote:
> > >
> > > Yeah, as much as I'd like to avoid adding a new option, I guess we
> > > have to do something about it, my latest take on this is
>
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...;
>
> static bool init_acl_common_config(vfs_handle_struct *handle)
> @@ -65,6 +73,11 @@ static bool init_acl_common_config(vfs_handle_struct *handle)
> ACL_MODULE_NAME,
> "ignore system acls",
> false);
> + config->default_acl_style = lp_parm_enum(SNUM(handle->conn),
> + ACL_MODULE_NAME,
> + "default acl style",
> + default_acl_style,
> + DEFAULT_ACL_POSIX);
>
> SMB_VFS_HANDLE_SET_DATA(handle, config, NULL,
> struct acl_common_config,
> @@ -387,10 +400,10 @@ static NTSTATU...
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote:
> On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote:
> > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote:
> > >
> > > Cheerio!
> > > -slow
> >
> > Still reviewing this - but a few things that will need changing:
> >
> > When adding the