116-oplocks.diff   [plain text]


--- samba/docs/manpages/smb.conf.5.orig	Wed Sep 10 14:24:28 2003
+++ samba/docs/manpages/smb.conf.5	Wed Sep 10 14:10:14 2003
@@ -4800,7 +4800,7 @@
 See also the \fIkernel oplocks\fR and \fI level2 oplocks\fR parameters\&.
 
 
-Default: \fBoplocks = yes\fR
+Default: \fBoplocks = no\fR
 
 
 .TP
@@ -6158,7 +6158,7 @@
 Well-behaved clients always ask for lock checks when it is important, so in the vast majority of cases \fBstrict locking = no\fR is preferable\&.
 
 
-Default: \fBstrict locking = no\fR
+Default: \fBstrict locking = yes\fR
 
 
 .TP
--- samba/source/param/loadparm.c.orig	Wed Sep 10 14:07:01 2003
+++ samba/source/param/loadparm.c	Wed Sep 10 14:27:16 2003
@@ -506,7 +506,7 @@
 	True,			/* bStrictLocking */
 	True,			/* bPosixLocking */
 	True,			/* bShareModes */
-	True,			/* bOpLocks */
+	False,			/* bOpLocks */
 	True,			/* bLevel2OpLocks */
 	False,			/* bOnlyUser */
 	True,			/* bMangledNames */