1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Added definition of oplocks parameter.

Jeremy (jallison@whistle.com)
(This used to be commit f9df5ac008)
This commit is contained in:
Jeremy Allison 1997-10-09 18:48:12 +00:00
parent f3f44f7dbb
commit 12f2c006e0

View File

@ -596,6 +596,8 @@ only guest
only user
oplocks
path
postexec
@ -2236,6 +2238,22 @@ of the user.
.B Example:
only user = True
.SS oplocks (S)
This boolean option tells smbd whether to issue oplocks (opportunistic
locks) to file open requests on this share. The oplock code was introduced in
Samba 1.9.18 and can dramatically (approx 30% or more) improve the speed
of access to files on Samba servers. It allows the clients to agressively
cache files locally and you may want to disable this option for unreliable
network environments (it is turned on by default in Windows NT Servers).
For more information see the file Speed.txt in the Samba docs/ directory.
.B Default:
oplocks = True
.B Example:
oplocks = False
.SS os level (G)
This integer value controls what level Samba advertises itself as for
browse elections. See BROWSING.txt for details.