summaryrefslogtreecommitdiffstats
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-26 17:58:05 +0000
committerJeremy Allison <jra@samba.org>2001-03-26 17:58:05 +0000
commitc4cfc3629038aa6c2d57d630452c538c737d1203 (patch)
tree77f9d8ac564ae8e829e6d53cf445fdeeb95fbc87 /source3/smbd/nttrans.c
parent162218259f59f61746a3a80bde372646f2107140 (diff)
downloadsamba-c4cfc3629038aa6c2d57d630452c538c737d1203.tar.gz
samba-c4cfc3629038aa6c2d57d630452c538c737d1203.tar.xz
samba-c4cfc3629038aa6c2d57d630452c538c737d1203.zip
Ensure get/set NT ACL code is redirected through vfs.
Jeremy. (This used to be commit d43d907c38008bb02042cb4bc2d899f62bdc115b)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 5d28f8bc3e4..58b484f44d6 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1030,7 +1030,7 @@ static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint security_i
if (psd->off_dacl==0)
security_info_sent &= ~DACL_SECURITY_INFORMATION;
- ret = set_nt_acl( fsp, security_info_sent, psd);
+ ret = fsp->conn->vfs_ops.fset_nt_acl( fsp, fsp->fd, security_info_sent, psd);
if (!ret) {
talloc_destroy(mem_ctx);
@@ -1523,7 +1523,7 @@ static int call_nt_transact_query_security_desc(connection_struct *conn,
* Get the permissions to return.
*/
- if((sd_size = get_nt_acl(fsp, &psd)) == 0)
+ if((sd_size = conn->vfs_ops.fget_nt_acl(fsp, fsp->fd, &psd)) == 0)
return(UNIXERROR(ERRDOS,ERRnoaccess));
DEBUG(3,("call_nt_transact_query_security_desc: sd_size = %d.\n",(int)sd_size));