summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-29 18:23:33 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-29 18:23:33 +1000
commit21d770a02c1e5e492c3d764881b82cbc0871ced0 (patch)
tree66f76b2d306e00798fe0b25fe516d46b32c238f1
parente42ded24a085a9bfaae0e4973b8dd52681b51a8a (diff)
downloadsamba-21d770a02c1e5e492c3d764881b82cbc0871ced0.tar.gz
samba-21d770a02c1e5e492c3d764881b82cbc0871ced0.tar.bz2
samba-21d770a02c1e5e492c3d764881b82cbc0871ced0.zip
querying the ACCESS_INFORMATION is always allowed
(This used to be commit 25d5b94d6a700f2d294e108aeca85cffcd5bbb4f)
-rw-r--r--source4/ntvfs/posix/pvfs_qfileinfo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_qfileinfo.c b/source4/ntvfs/posix/pvfs_qfileinfo.c
index b9f763c2e0..3196cf2f8d 100644
--- a/source4/ntvfs/posix/pvfs_qfileinfo.c
+++ b/source4/ntvfs/posix/pvfs_qfileinfo.c
@@ -41,6 +41,10 @@ static uint32_t pvfs_fileinfo_access(union smb_fileinfo *info)
needed = 0;
break;
+ case RAW_FILEINFO_ACCESS_INFORMATION:
+ needed = 0;
+ break;
+
case RAW_FILEINFO_SEC_DESC:
needed = 0;
if (info->query_secdesc.in.secinfo_flags & (SECINFO_OWNER|SECINFO_GROUP)) {