summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_srvsvc_nt.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-05-08 18:09:07 -0700
committerJeremy Allison <jra@samba.org>2008-05-08 18:09:07 -0700
commit00b2cdf75e9bea25034440054b4acd91a179c86d (patch)
tree1e049c04c17693bd64c1d8d80a6fd3f0d85c878d /source3/rpc_server/srv_srvsvc_nt.c
parentf7d39653f5c5bea025a77191555231e8a28b25b8 (diff)
downloadsamba-00b2cdf75e9bea25034440054b4acd91a179c86d.tar.gz
samba-00b2cdf75e9bea25034440054b4acd91a179c86d.tar.bz2
samba-00b2cdf75e9bea25034440054b4acd91a179c86d.zip
Yay ! Remove a VFS entry. Removed the set_nt_acl() call,
this can only be done via fset_nt_acl() using an open file/directory handle. I'd like to do the same with get_nt_acl() but am concerned about efficiency problems with "hide unreadable/hide unwritable" when doing a directory listing (this would mean opening every file in the dir on list). Moving closer to rationalizing the ACL model and maybe moving the POSIX calls into a posix_acl VFS module rather than having them as first class citizens of the VFS. Jeremy. (This used to be commit f487f742cb903a06fbf2be006ddc9ce9063339ed)
Diffstat (limited to 'source3/rpc_server/srv_srvsvc_nt.c')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index 1b578cc9f8..18c6f4de53 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -2233,7 +2233,7 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p,
}
}
- nt_status = SMB_VFS_SET_NT_ACL(fsp, fsp->fsp_name,
+ nt_status = SMB_VFS_FSET_NT_ACL(fsp,
r->in.securityinformation,
r->in.sd_buf->sd);