summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-13 00:03:37 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-13 00:03:37 +0000
commit95625a91668317f0d6a15fa767b3507c1cbeb88d (patch)
tree89a0f84ee24068c9af565ab91810837a3591af22 /docs
parentdb20ab9bbdcc8fbfa81883c2d0c952386820de4c (diff)
downloadsamba-95625a91668317f0d6a15fa767b3507c1cbeb88d.tar.gz
samba-95625a91668317f0d6a15fa767b3507c1cbeb88d.tar.bz2
samba-95625a91668317f0d6a15fa767b3507c1cbeb88d.zip
updated the "comment =" entry a bit
updated the fake oplocks entry a bit (This used to be commit 60bb523c8a67065d0ede732e1c153f37a8a865b6)
Diffstat (limited to 'docs')
-rw-r--r--docs/manpages/smb.conf.519
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5
index bb43941439..9b8dfd3f28 100644
--- a/docs/manpages/smb.conf.5
+++ b/docs/manpages/smb.conf.5
@@ -871,9 +871,11 @@ See also : "valid chars".
client code page = 437
.SS comment (S)
-This is a text field that is seen when a client does a net view to
-list what shares are available. It will also be used when browsing is
-fully supported.
+This is a text field that is seen next to a share when a client does a
+net view to list what shares are available.
+
+If you want to set the string that is displayed next to the machine
+name then see the server string command.
.B Default:
No comment string
@@ -1238,12 +1240,8 @@ only one accessing the file and it will aggressively cache file
data. With some oplock types the client may even cache file open/close
operations. This can give enormous performance benefits.
-Samba does not support opportunistic locks because they are very
-difficult to do under Unix. Samba can fake them, however, by granting
-a oplock whenever a client asks for one. This is controlled using the
-smb.conf option "fake oplocks". If you set "fake oplocks = yes" then
-you are telling the client that it may aggressively cache the file
-data.
+When you set "fake oplocks = yes" Samba will always grant oplock
+requests no matter how many clients are using the file.
By enabling this option on all read-only shares or shares that you know
will only be accessed from one client at a time you will see a big
@@ -1252,6 +1250,9 @@ on shares where multiple clients may be accessing the files read-write
at the same time you can get data corruption. Use this option
carefully!
+It is generally much better to use the real oplock support except for
+physically read-only media such as CDROMs.
+
This option is disabled by default.
.SS follow symlinks (S)