From: Andrew Tridgell Date: Thu, 29 May 2008 08:23:33 +0000 (+1000) Subject: querying the ACCESS_INFORMATION is always allowed X-Git-Tag: samba-4.0.0alpha4~9^2~8^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25d5b94d6a700f2d294e108aeca85cffcd5bbb4f;p=thirdparty%2Fsamba.git querying the ACCESS_INFORMATION is always allowed --- 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)) {