1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

r9246: Patch from Marcel samba.10.maazl@spamgourmet.com for OS/2 trans2 open

reply bugs.
Jeremy.
(This used to be commit 3ec6fc8d1e34c344f59b8c1a22f3bab556e7fa07)
This commit is contained in:
Jeremy Allison 2005-08-11 22:45:57 +00:00 committed by Gerald (Jerry) Carter
parent 4ae6b9765f
commit e14c6d62d8

View File

@ -878,8 +878,9 @@ static int call_trans2open(connection_struct *conn, char *inbuf, char *outbuf, i
SSVAL(params,2,open_attr);
put_dos_date2(params,4, mtime);
SIVAL(params,8, (uint32)size);
SSVAL(params,12,open_ofun);
SSVAL(params,16,0); /* Padding. */
SSVAL(params,12,deny_mode);
SSVAL(params,14,0); /* open_type - file or directory. */
SSVAL(params,16,0); /* open_state - only valid for IPC device. */
if (oplock_request && lp_fake_oplocks(SNUM(conn))) {
smb_action |= EXTENDED_OPLOCK_GRANTED;