summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-08-11 22:45:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:28 -0500
commite14c6d62d8093a1b44f37f75881033616ab92c55 (patch)
tree8dc3230e71d5ceed16f6c20410d109e970559e21 /source3/smbd
parent4ae6b9765f5a60e22bb4dc00d328b3d739941aba (diff)
downloadsamba-e14c6d62d8093a1b44f37f75881033616ab92c55.tar.gz
samba-e14c6d62d8093a1b44f37f75881033616ab92c55.tar.bz2
samba-e14c6d62d8093a1b44f37f75881033616ab92c55.zip
r9246: Patch from Marcel samba.10.maazl@spamgourmet.com for OS/2 trans2 open
reply bugs. Jeremy. (This used to be commit 3ec6fc8d1e34c344f59b8c1a22f3bab556e7fa07)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index e1462c0103..6cebff61ed 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -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;