summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-27 14:06:51 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-27 14:06:51 +1000
commit9a37e7ed93dabd1880513d10afc1135049f1fb4a (patch)
treef5362daf47df8ba1f871baf6c230df0eafae506e
parentaf4f6f445a2958b2a80c3849355eab93071cbc7c (diff)
downloadsamba-9a37e7ed93dabd1880513d10afc1135049f1fb4a.tar.gz
samba-9a37e7ed93dabd1880513d10afc1135049f1fb4a.tar.bz2
samba-9a37e7ed93dabd1880513d10afc1135049f1fb4a.zip
Vista returns ACCESS_DENIED here
(This used to be commit f5068c6e50215f6ea7108d58d783394a315ff14f)
-rw-r--r--source4/ntvfs/posix/pvfs_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c
index f1e469f790..507c22f050 100644
--- a/source4/ntvfs/posix/pvfs_acl.c
+++ b/source4/ntvfs/posix/pvfs_acl.c
@@ -457,7 +457,7 @@ NTSTATUS pvfs_access_check_unix(struct pvfs_state *pvfs,
}
if (uid != 0 && (*access_mask & SEC_FLAG_SYSTEM_SECURITY)) {
- return NT_STATUS_PRIVILEGE_NOT_HELD;
+ return NT_STATUS_ACCESS_DENIED;
}
if (*access_mask & ~max_bits) {