OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 15 May 2007 23:44:45 EDT


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/WINNT/afsd

Modified Files:
      Tag: openafs-devel-1_5_x
	smb3.c 
Log Message:
DELTA DEVEL15-windows-afsd-list-acl-only-dir-20070515
AUTHOR jaltman@secure-endpoints.com
FIXES 60258

When the ACL on a directory is list only, attempts to read the status
of items in the directory will fail.  Therefore, it is pointless to try.
Instead, when we know the user ACL does not have read permission, we
should immediately lie about the status info.  That way we don't pound
the file server with requests that will produce an abort which in turn
will trigger force the file server to delay responses to the client.

This change has the added benefit that cached status info is no longer
leaked to callers that do not have appropriate permissions.

With this change the Explorer Shell is much more responsive.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-afsd-list-acl-only-dir-20070515 openafs/src/WINNT/afsd/smb3.c 1.95.2.30 1.95.2.31