--- ori/samba-3.0.28a/source/modules/vfs_zfsacl.c Mon May 5 14:16:59 2008 +++ samba-3.0.28a/source/modules/vfs_zfsacl.c Mon May 5 14:25:18 2008 @@ -197,9 +197,33 @@ return zfs_set_nt_acl(handle, fsp, security_info_sent, psd); } +static NTSTATUS zfsacl_fail() { + return 0; +} + /* VFS operations structure */ static vfs_op_tuple zfsacl_ops[] = { + {SMB_VFS_OP(zfsacl_fail), + SMB_VFS_OP_SYS_ACL_GET_FILE, + SMB_VFS_LAYER_TRANSPARENT}, + + {SMB_VFS_OP(zfsacl_fail), + SMB_VFS_OP_SYS_ACL_GET_FD, + SMB_VFS_LAYER_TRANSPARENT}, + + {SMB_VFS_OP(zfsacl_fail), + SMB_VFS_OP_SYS_ACL_SET_FILE, + SMB_VFS_LAYER_TRANSPARENT}, + + {SMB_VFS_OP(zfsacl_fail), + SMB_VFS_OP_SYS_ACL_SET_FD, + SMB_VFS_LAYER_TRANSPARENT}, + + {SMB_VFS_OP(zfsacl_fail), + SMB_VFS_OP_SYS_ACL_DELETE_DEF_FILE, + SMB_VFS_LAYER_TRANSPARENT}, + {SMB_VFS_OP(zfsacl_fget_nt_acl), SMB_VFS_OP_FGET_NT_ACL, SMB_VFS_LAYER_OPAQUE}, {SMB_VFS_OP(zfsacl_get_nt_acl), SMB_VFS_OP_GET_NT_ACL,