The Samba-Bugzilla – Attachment 4191 Details for
Bug 6396
Read-only POSIX open calls fail from CIFS client with "INVALID_PARAMETER"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.2.x
look (text/plain), 562 bytes, created by
Jeremy Allison
on 2009-05-22 18:27:40 UTC
(
hide
)
Description:
Patch for 3.2.x
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-05-22 18:27:40 UTC
Size:
562 bytes
patch
obsolete
>diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c >index 31fd18d..25b0c13 100644 >--- a/source/smbd/trans2.c >+++ b/source/smbd/trans2.c >@@ -6362,6 +6362,8 @@ static NTSTATUS smb_posix_open(connection_struct *conn, > create_disp = FILE_OVERWRITE_IF; > } else if((wire_open_mode & SMB_O_CREAT) == SMB_O_CREAT) { > create_disp = FILE_OPEN_IF; >+ } else if ((wire_open_mode & (SMB_O_CREAT | SMB_O_EXCL | SMB_O_TRUNC)) == 0) { >+ create_disp = FILE_OPEN; > } else { > DEBUG(5,("smb_posix_open: invalid create mode 0x%x\n", > (unsigned int)wire_open_mode ));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 6396
: 4191