diff options
author | Jeremy Allison <jra@samba.org> | 2011-08-29 16:47:16 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-08-29 16:47:16 -0700 |
commit | dec3b21cd1737b317749e7ebced5aa1c2115ebdf (patch) | |
tree | 1c2987d37d37f95e7d6c50f350a5697320ebd709 /source3/smbd/smb2_setinfo.c | |
parent | 218cccfdf1820a9840a5cbc7df3915b6b58a762d (diff) | |
download | samba-dec3b21cd1737b317749e7ebced5aa1c2115ebdf.tar.gz samba-dec3b21cd1737b317749e7ebced5aa1c2115ebdf.tar.bz2 samba-dec3b21cd1737b317749e7ebced5aa1c2115ebdf.zip |
Fix bug 8412 - Microsoft Office 2007 (Microsoft Word) fails to save as on a Samba share with SMB2.
Diffstat (limited to 'source3/smbd/smb2_setinfo.c')
-rw-r--r-- | source3/smbd/smb2_setinfo.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/smbd/smb2_setinfo.c b/source3/smbd/smb2_setinfo.c index e1149408d1..96b44aaf77 100644 --- a/source3/smbd/smb2_setinfo.c +++ b/source3/smbd/smb2_setinfo.c @@ -219,12 +219,6 @@ static struct tevent_req *smbd_smb2_setinfo_send(TALLOC_CTX *mem_ctx, if (file_info_level == SMB_FILE_RENAME_INFORMATION) { /* SMB2_FILE_RENAME_INFORMATION_INTERNAL == 0xFF00 + in_file_info_class */ file_info_level = SMB2_FILE_RENAME_INFORMATION_INTERNAL; - if (fsp->oplock_type != FAKE_LEVEL_II_OPLOCK && - fsp->oplock_type != NO_OPLOCK) { - /* No break, but error. */ - tevent_req_nterror(req, NT_STATUS_SHARING_VIOLATION); - return tevent_req_post(req, ev); - } } if (fsp->fh->fd == -1) { |