The Samba-Bugzilla – Bug 2553
PATCH: Syntax errors in smb.conf manpage
Last modified: 2005-10-17 09:56:49 UTC
in many cases the smb.conf manpage has two errors regarding the ".fi"
parameter, which results in incorrect parsing. Here's a patch:
jens@get1431p4:~> diff -u smb.conf.5.old smb.conf.5
--- smb.conf.5.old 2005-03-29 10:51:52.160642710 +0200
+++ smb.conf.5 2005-03-29 10:50:10.627924031 +0200
@@ -186,7 +186,7 @@
Each alias should be an acceptable printer name for your printing
subsystem\&. In the [global] section, specify the new file as your printcap\&.
The server will only recognize names found in your pseudo\-printcap, which of
course can contain whatever aliases you like\&. The same technique could be
used simply to limit access to a subset of your local printers\&.
@@ -2139,7 +2139,8 @@
The contents of the batch file are entirely your choice\&. A suggested
command would be to add \fBNET TIME \\\\SERVER /SET /YES\fR, to force every
machine to synchronize clocks with the same time server\&. Another use would
be to add \fBNET USE U: \\\\SERVER\\UTILS\fR for commonly used utilities, or
- \fBNET USE Q: \\\\SERVER\\ISO9001_QA\fR.fi
+ \fBNET USE Q: \\\\SERVER\\ISO9001_QA\fR
Note that it is particularly important not to allow write access to the
[netlogon] share, or to grant users write permission on the batch files in a
secure environment, as this would allow the batch files to be arbitrarily
modified and security to be breached\&.
argh.. I hate copy&paste. forget the "in many cases" part. :-)
please send patches against either the xml source of
the docbook toolchain. We can't use patches against the
actual man page.
This problem has been fixed for some time. Sorry, I forgot to close the bug report.
- John T.