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

jra at samba.org jra at samba.org
Thu Oct 6 03:41:02 GMT 2005


Author: jra
Date: 2005-10-06 03:41:01 +0000 (Thu, 06 Oct 2005)
New Revision: 10750

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

Log:
Ensure we match W2K3 in forcing DOS errors in a couple of cases.
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-10-06 00:21:02 UTC (rev 10749)
+++ branches/SAMBA_3_0/source/smbd/reply.c	2005-10-06 03:41:01 UTC (rev 10750)
@@ -1312,7 +1312,7 @@
 	if (!map_open_params_to_ntcreate(fname, deny_mode, OPENX_FILE_EXISTS_OPEN,
 			&access_mask, &share_mode, &create_disposition, &create_options)) {
 		END_PROFILE(SMBopen);
-		return ERROR_DOS(ERRDOS, ERRbadaccess);
+		return ERROR_FORCE_DOS(ERRDOS, ERRbadaccess);
 	}
 
 	fsp = open_file_ntcreate(conn,fname,&sbuf,
@@ -1435,7 +1435,7 @@
 				&create_disposition,
 				&create_options)) {
 		END_PROFILE(SMBopenX);
-		return ERROR_DOS(ERRDOS, ERRbadaccess);
+		return ERROR_FORCE_DOS(ERRDOS, ERRbadaccess);
 	}
 
 	fsp = open_file_ntcreate(conn,fname,&sbuf,



More information about the samba-cvs mailing list