summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_xattr.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-18 03:45:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:58 -0500
commit837909e3abfe6988d1e685c291c2871c0d89f4ed (patch)
tree64a350fd0b19fe71b17b5e5a0b27f2a318fb28c2 /source4/ntvfs/posix/pvfs_xattr.c
parent82da254ece1e09218d12b478e2164461306499a3 (diff)
downloadsamba-837909e3abfe6988d1e685c291c2871c0d89f4ed.tar.gz
samba-837909e3abfe6988d1e685c291c2871c0d89f4ed.tar.bz2
samba-837909e3abfe6988d1e685c291c2871c0d89f4ed.zip
r3834: - fixed XATTR_NTACL_NAME
- pvfs now passes RAW-ACLS (This used to be commit 2e19edaa4ebc96b3e95e0b55c4fae8eaefd642b2)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_xattr.c')
-rw-r--r--source4/ntvfs/posix/pvfs_xattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_xattr.c b/source4/ntvfs/posix/pvfs_xattr.c
index 35d06e3fb6..fda15a2e92 100644
--- a/source4/ntvfs/posix/pvfs_xattr.c
+++ b/source4/ntvfs/posix/pvfs_xattr.c
@@ -361,7 +361,7 @@ NTSTATUS pvfs_acl_load(struct pvfs_state *pvfs, struct pvfs_filename *name, int
return NT_STATUS_OK;
}
status = pvfs_xattr_ndr_load(pvfs, acl, name->full_name, fd,
- XATTR_DOSACL_NAME,
+ XATTR_NTACL_NAME,
acl,
(ndr_pull_flags_fn_t)ndr_pull_xattr_NTACL);
return status;
@@ -384,7 +384,7 @@ NTSTATUS pvfs_acl_save(struct pvfs_state *pvfs, struct pvfs_filename *name, int
admin privileges to set it */
privs = root_privileges();
status = pvfs_xattr_ndr_save(pvfs, name->full_name, fd,
- XATTR_DOSACL_NAME,
+ XATTR_NTACL_NAME,
acl,
(ndr_push_flags_fn_t)ndr_push_xattr_NTACL);
talloc_free(privs);