Displaying 1 result from an estimated 1 matches for "vfswrap_chmod_acl".
Did you mean:
vfswrap_fchmod_acl
2004 Jun 23
1
Skel VFS module crashes smbd when we have no ACL support in samba v2.2.9.
...without ACL support and when I test skel vfs
module I have encountered internal errors (SIGSEGV in child processes).
Consider the file source/samba/vfs.c:
struct vfs_ops default_vfs_ops = {
...
/* POSIX ACL operations. */
#if defined(HAVE_NO_ACLS)
NULL,
NULL,
#else
vfswrap_chmod_acl,
vfswrap_fchmod_acl,
#endif
...
};
As we may see if we have not ACL support, chmod_acl and fchmod_acl structure
members became NULL. But skel VFS module lacks of check for it.
So, I suggest the following patch:
-----------------------------------------------------------------------------...