svn commit: samba r6198 - in trunk/source/smbd: .

jra at samba.org jra at samba.org
Mon Apr 4 20:40:31 GMT 2005


Author: jra
Date: 2005-04-04 20:40:30 +0000 (Mon, 04 Apr 2005)
New Revision: 6198

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

Log:
Only do the strange DOS error for openX, not trans2open.
Jeremy.

Modified:
   trunk/source/smbd/trans2.c


Changeset:
Modified: trunk/source/smbd/trans2.c
===================================================================
--- trunk/source/smbd/trans2.c	2005-04-04 17:04:03 UTC (rev 6197)
+++ trunk/source/smbd/trans2.c	2005-04-04 20:40:30 UTC (rev 6198)
@@ -786,9 +786,6 @@
 	if (open_ofun == 0) {
 		if (GET_OPEN_MODE(open_mode) == DOS_OPEN_EXEC) {
 			open_ofun = FILE_EXISTS_FAIL | FILE_CREATE_IF_NOT_EXIST;
-		} else {
-			END_PROFILE(SMBopenX);
-			return ERROR_FORCE_DOS(ERRDOS, ERRbadaccess);
 		}
 	}
 



More information about the samba-cvs mailing list