svn commit: samba r8556 - in branches/SAMBA_3_0/source/smbd: .

jra at samba.org jra at samba.org
Mon Jul 18 22:32:38 GMT 2005


Author: jra
Date: 2005-07-18 22:32:35 +0000 (Mon, 18 Jul 2005)
New Revision: 8556

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8556

Log:
Fix bug #2878 - Norton commander not running on OS/2 client - we were
not correctly returning the requested open mode. Thanks to alex at infobit.ru
for reporting this.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/reply.c	2005-07-18 22:32:32 UTC (rev 8555)
+++ branches/SAMBA_3_0/source/smbd/reply.c	2005-07-18 22:32:35 UTC (rev 8556)
@@ -1352,7 +1352,7 @@
 		put_dos_date3(outbuf,smb_vwv2,mtime);
 	}
 	SIVAL(outbuf,smb_vwv4,(uint32)size);
-	SSVAL(outbuf,smb_vwv6,FILE_WAS_OPENED);
+	SSVAL(outbuf,smb_vwv6,GET_OPENX_MODE(deny_mode));
 
 	if (oplock_request && lp_fake_oplocks(SNUM(conn))) {
 		SCVAL(outbuf,smb_flg,CVAL(outbuf,smb_flg)|CORE_OPLOCK_GRANTED);



More information about the samba-cvs mailing list