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

jra at samba.org jra at samba.org
Tue Jun 21 05:27:11 GMT 2005


Author: jra
Date: 2005-06-21 05:27:09 +0000 (Tue, 21 Jun 2005)
New Revision: 7799

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

Log:
CIFSFS client assumes wcnt == 10 for successful trans2 reply.
Jeremy.

Modified:
   trunk/source/smbd/trans2.c


Changeset:
Modified: trunk/source/smbd/trans2.c
===================================================================
--- trunk/source/smbd/trans2.c	2005-06-21 05:27:02 UTC (rev 7798)
+++ trunk/source/smbd/trans2.c	2005-06-21 05:27:09 UTC (rev 7799)
@@ -2481,7 +2481,6 @@
 					(unsigned int)client_unix_cap_low,
 					(unsigned int)client_unix_cap_high ));
 
-				outsize = set_message(outbuf,0,0,True);
 				break;
 			}
 		case SMB_FS_QUOTA_INFORMATION:
@@ -2540,14 +2539,6 @@
 				return ERROR_DOS(ERRSRV,ERRerror);
 			}
 			
-			/* 
-			 * sending this reply works fine, 
-			 * but I'm not sure it's the same 
-			 * like windows do...
-			 * --metze
-			 */ 
-			outsize = set_message(outbuf,10,0,True);
-
 			break;
 		default:
 			DEBUG(3,("call_trans2setfsinfo: unknown level (0x%X) not implemented yet.\n",
@@ -2556,6 +2547,14 @@
 			break;
 	}
 
+	/* 
+	 * sending this reply works fine, 
+	 * but I'm not sure it's the same 
+	 * like windows do...
+	 * --metze
+	 */ 
+	outsize = set_message(outbuf,10,0,True);
+
 	return outsize;
 }
 



More information about the samba-cvs mailing list