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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sat, 22 Apr 2006 15:44:29 EDT


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

Modified Files:
	cm_access.c cm_access.h cm_aclent.c cm_aclent.h cm_ioctl.c 
	cm_scache.c cm_scache.h cm_user.h cm_vnodeops.c smb.c smb.h 
	smb3.c 
Log Message:
DELTA windows-insert-locking-without-afsid-20060422
AUTHOR jaltman@secure-endpoints.com

This patch disables the lookup of the user's AFSID and instead solves
the problem by tracking which cm_user_t created the file.  If the user
is unable to obtain a write lock and is the creator, then we check for
the Insert bit.  Otherwise, we deny access.



--- DELTA config follows ---
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_access.c 1.6 1.7
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_access.h 1.3 1.4
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_aclent.c 1.13 1.14
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_aclent.h 1.5 1.6
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_ioctl.c 1.72 1.73
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_scache.c 1.34 1.35
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_scache.h 1.20 1.21
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_user.h 1.7 1.8
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/cm_vnodeops.c 1.67 1.68
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/smb.c 1.116 1.117
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/smb.h 1.39 1.40
windows-insert-locking-without-afsid-20060422 openafs/src/WINNT/afsd/smb3.c 1.92 1.93