summaryrefslogtreecommitdiffstats
path: root/source3/smbd/unix_acls.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/unix_acls.c')
-rw-r--r--source3/smbd/unix_acls.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/smbd/unix_acls.c b/source3/smbd/unix_acls.c
index d32f1cfaae4..2e16611b0cb 100644
--- a/source3/smbd/unix_acls.c
+++ b/source3/smbd/unix_acls.c
@@ -352,15 +352,6 @@ size_t get_nt_acl(files_struct *fsp, SEC_DESC **ppdesc)
sid_copy( &group_sid, &global_sid_World);
} else {
- /*
- * If there is a VFS redirect, use it.
- */
-
- if ((fsp->is_directory || fsp->fd == -1) && fsp->conn->vfs_ops.get_nt_acl)
- return fsp->conn->vfs_ops.get_nt_acl(fsp->conn,dos_to_unix(fsp->fsp_name, False), ppdesc);
- else if (fsp->conn->vfs_ops.fget_nt_acl)
- return fsp->conn->vfs_ops.fget_nt_acl(fsp,fsp->fd, ppdesc);
-
if(fsp->is_directory || fsp->fd == -1) {
if(vfs_stat(fsp->conn,fsp->fsp_name, &sbuf) != 0) {
return 0;
@@ -463,15 +454,6 @@ BOOL set_nt_acl(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd)
BOOL got_dacl = False;
/*
- * If there is a VFS redirect, use it.
- */
-
- if ((fsp->is_directory || fsp->fd == -1) && fsp->conn->vfs_ops.set_nt_acl)
- return fsp->conn->vfs_ops.set_nt_acl(conn,dos_to_unix(fsp->fsp_name, False), security_info_sent, psd);
- else if (fsp->conn->vfs_ops.fset_nt_acl)
- return fsp->conn->vfs_ops.fset_nt_acl(fsp,fsp->fd, security_info_sent, psd);
-
- /*
* Get the current state of the file.
*/