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
commit25d5b94d6a700f2d294e108aeca85cffcd5bbb4f (patch)
tree66a2b9183f0e81ec217e0832434542c203410253
parent7bff0691428ed3f75c1a9cbaae692bc9830640e6 (diff)
downloadsamba-25d5b94d6a700f2d294e108aeca85cffcd5bbb4f.tar.gz
querying the ACCESS_INFORMATION is always allowed
-rw-r--r--source/ntvfs/posix/pvfs_qfileinfo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/ntvfs/posix/pvfs_qfileinfo.c b/source/ntvfs/posix/pvfs_qfileinfo.c
index b9f763c2e0f..3196cf2f8d6 100644
--- a/source/ntvfs/posix/pvfs_qfileinfo.c
+++ b/source/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)) {