Displaying 1 result from an estimated 1 matches for "skel_chmod_acl".
Did you mean:
skel_fchmod_acl
2004 Jun 23
1
Skel VFS module crashes smbd when we have no ACL support in samba v2.2.9.
...---------------------------------------------------------
diff -ur samba-2.2.9/examples/VFS/skel.c samba/examples/VFS/skel.c
--- samba-2.2.9/examples/VFS/skel.c 2004-05-08 05:07:43.000000000 +0400
+++ samba/examples/VFS/skel.c 2004-06-23 04:25:17.000000000 +0400
@@ -237,11 +237,15 @@
static BOOL skel_chmod_acl(struct connection_struct *conn, const char *name, mode_t mode)
{
+ if (!default_vfs_ops.chmod_acl)
+ return 0;
return default_vfs_ops.chmod_acl(conn, name, mode);
}
static BOOL skel_fchmod_acl(struct files_struct *fsp, int fd, mode_t mode)
{
+ if (!default_vfs_ops.fchmod_acl)
+ return 0;...