windows-insert-locking-without-afsid-20060422
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 22 Apr 2006 20:44:28 +0000 (20:44 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 22 Apr 2006 20:44:28 +0000 (20:44 +0000)
commit237ab6e5ba1e385d70601b48c89a56a409cc3050
treef59efef5c71061cd61095780e9efe460d25df9c1
parentd463c0f7c62472b699c89ae406e7a622ff81092d
windows-insert-locking-without-afsid-20060422

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.
12 files changed:
src/WINNT/afsd/cm_access.c
src/WINNT/afsd/cm_access.h
src/WINNT/afsd/cm_aclent.c
src/WINNT/afsd/cm_aclent.h
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_scache.h
src/WINNT/afsd/cm_user.h
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h
src/WINNT/afsd/smb3.c