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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 15 May 2007 23:43:47 EDT


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

Modified Files:
	smb3.c 
Log Message:
DELTA 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 follows ---
windows-afsd-list-acl-only-dir-20070515 openafs/src/WINNT/afsd/smb3.c 1.126 1.127