windows-smb-file-lock-20070209
authorAsanka Herath <asanka@secure-endpoints.com>
Sat, 10 Feb 2007 00:00:01 +0000 (00:00 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 10 Feb 2007 00:00:01 +0000 (00:00 +0000)
commit25c7f567f2c831d62152104c3b84ec31d9fd330f
tree5f42575b471d5083ea37359dc2dd5ce849fcf3ca
parenta9b0dbb30cc926251d66ea9036d6505fe525cc51
windows-smb-file-lock-20070209

When processing exclusive locks for files that were opened read-only,
obtain a read-lock instead of a write-lock.

In NTCreateX, if the file is being opened as OPEN_ALWAYS and the file
already exists, do not require write permission
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb3.c