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

jra at samba.org jra at samba.org
Mon Apr 10 18:44:29 GMT 2006


Author: jra
Date: 2006-04-10 18:44:27 +0000 (Mon, 10 Apr 2006)
New Revision: 15020

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

Log:
Fix issue with samba4 netbench torture tester,
it sends break replies to "break to none from level2"
requests and it shouldn't. Just don't log a debug
level zero message.
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	2006-04-10 18:43:41 UTC (rev 15019)
+++ branches/SAMBA_3_0/source/smbd/reply.c	2006-04-10 18:44:27 UTC (rev 15020)
@@ -5247,7 +5247,14 @@
 		 */
 		
 		if (fsp->oplock_type == 0) {
-			DEBUG(0,("reply_lockingX: Error : oplock break from "
+
+			/* The Samba4 nbench simulator doesn't understand
+			   the difference between break to level2 and break
+			   to none from level2 - it sends oplock break
+			   replies in both cases. Don't keep logging an error
+			   message here - just ignore it. JRA. */
+
+			DEBUG(5,("reply_lockingX: Error : oplock break from "
 				 "client for fnum = %d (oplock=%d) and no "
 				 "oplock granted on this file (%s).\n",
 				 fsp->fnum, fsp->oplock_type, fsp->fsp_name));



More information about the samba-cvs mailing list