Bug 2553 - PATCH: Syntax errors in smb.conf manpage
PATCH: Syntax errors in smb.conf manpage
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Docs
3.0.12
Other Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba Documentation QA Contact~
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-29 01:52 UTC by Jens Benecke
Modified: 2005-10-17 09:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Benecke 2005-03-29 01:52:19 UTC
Hello, 
 
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 @@ 
 .nf 
 
 alias|alias|alias|alias\&.\&.\&. 
-               .fi 
+.fi 
 
 .PP 
 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 
 .nf 
 
-       \fBNET USE Q: \\\\SERVER\\ISO9001_QA\fR.fi 
+       \fBNET USE Q: \\\\SERVER\\ISO9001_QA\fR 
+.fi 
  for example\&. 
 
 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\&. 
=======================================================================
Comment 1 Jens Benecke 2005-03-29 01:52:45 UTC
argh.. I hate copy&paste. forget the "in many cases" part. :-)  
Comment 2 Gerald (Jerry) Carter 2005-03-29 05:52:43 UTC
please send patches against either the xml source of 
the docbook toolchain.  We can't use patches against the 
actual man page.
Comment 3 John H Terpstra 2005-10-17 09:56:49 UTC
This problem has been fixed for some time. Sorry, I forgot to close the bug report.

- John T.