querying the ACCESS_INFORMATION is always allowed
authorAndrew Tridgell <tridge@samba.org>
Thu, 29 May 2008 08:23:33 +0000 (18:23 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 29 May 2008 08:23:33 +0000 (18:23 +1000)
(This used to be commit 25d5b94d6a700f2d294e108aeca85cffcd5bbb4f)

source4/ntvfs/posix/pvfs_qfileinfo.c

index b9f763c2e0f06b999d903c840824fff79d8a0dba..3196cf2f8d663c459362e9100c91054dbfc20b5a 100644 (file)
@@ -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)) {