Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/docs/manpages/testparm.1

    r44 r134  
    1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
    2 .de Sh \" Subsection
    3 .br
    4 .if t .Sp
    5 .ne 5
    6 .PP
    7 \fB\\$1\fR
    8 .PP
    9 ..
    10 .de Sp \" Vertical space (when we can't use .PP)
    11 .if t .sp .5v
    12 .if n .sp
    13 ..
    14 .de Ip \" List item
    15 .br
    16 .ie \\n(.$>=3 .ne \\$3
    17 .el .ne 3
    18 .IP "\\$1" \\$2
    19 ..
    20 .TH "TESTPARM" 1 "" "" ""
     1.\"     Title: testparm
     2.\"    Author:
     3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
     4.\"      Date: 05/21/2008
     5.\"    Manual: User Commands
     6.\"    Source: Samba 3.0
     7.\"
     8.TH "TESTPARM" "1" "05/21/2008" "Samba 3\.0" "User Commands"
     9.\" disable hyphenation
     10.nh
     11.\" disable justification (adjust text to left margin only)
     12.ad l
    2113.SH "NAME"
    2214testparm - check an smb.conf configuration file for internal correctness
    2315.SH "SYNOPSIS"
    2416.HP 1
    25 testparm [-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename} [hostname hostIP]
     17testparm [\-s] [\-h] [\-v] [\-L\ <servername>] [\-t\ <encoding>] {config\ filename} [hostname\ hostIP]
    2618.SH "DESCRIPTION"
    2719.PP
    2820This tool is part of the
    2921\fBsamba\fR(7)
    30 suite.
     22suite\.
    3123.PP
    3224testparm
    3325is a very simple test program to check an
    3426\fBsmbd\fR(8)
    35 configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that
     27configuration file for internal correctness\. If this program reports no problems, you can use the configuration file with confidence that
    3628smbd
    37 will successfully load the configuration file.
     29will successfully load the configuration file\.
    3830.PP
    3931Note that this is
    40 \fBNOT\fR
    41 a guarantee that the services specified in the configuration file will be available or will operate as expected.
     32\fINOT\fR
     33a guarantee that the services specified in the configuration file will be available or will operate as expected\.
    4234.PP
    43 If the optional host name and host IP address are specified on the command line, this test program will run through the service entries reporting whether the specified host has access to each service.
     35If the optional host name and host IP address are specified on the command line, this test program will run through the service entries reporting whether the specified host has access to each service\.
    4436.PP
    4537If
    4638testparm
    4739finds an error in the
    48 \fI smb.conf\fR
    49 file it returns an exit code of 1 to the calling program, else it returns an exit code of 0. This allows shell scripts to test the output from
    50 testparm.
     40\fI smb\.conf\fR
     41file it returns an exit code of 1 to the calling program, else it returns an exit code of 0\. This allows shell scripts to test the output from
     42testparm\.
    5143.SH "OPTIONS"
    5244.PP
    53 -s
    54 .RS 3n
     45\-s
     46.RS 4
    5547Without this option,
    5648testparm
    57 will prompt for a carriage return after printing the service names and before dumping the service definitions.
     49will prompt for a carriage return after printing the service names and before dumping the service definitions\.
    5850.RE
    5951.PP
    60 -h|--help
    61 .RS 3n
    62 Print a summary of command line options.
     52\-h|\-\-help
     53.RS 4
     54Print a summary of command line options\.
    6355.RE
    6456.PP
    65 -V
    66 .RS 3n
    67 Prints the program version number.
     57\-V
     58.RS 4
     59Prints the program version number\.
    6860.RE
    6961.PP
    70 -L servername
    71 .RS 3n
     62\-L servername
     63.RS 4
    7264Sets the value of the %L macro to
    73 \fIservername\fR. This is useful for testing include files specified with the %L macro.
     65\fIservername\fR\. This is useful for testing include files specified with the %L macro\.
    7466.RE
    7567.PP
    76 -v
    77 .RS 3n
     68\-v
     69.RS 4
    7870If this option is specified, testparm will also output all options that were not used in
    7971\fBsmb.conf\fR(5)
    80 and are thus set to their defaults.
     72and are thus set to their defaults\.
    8173.RE
    8274.PP
    83 -t encoding
    84 .RS 3n
    85 Output data in specified encoding.
     75\-t encoding
     76.RS 4
     77Output data in specified encoding\.
    8678.RE
    8779.PP
    88 --parameter-name parametername
    89 .RS 3n
    90 Dumps the named parameter. If no section-name is set the view is limited by default to the global section. It is also possible to dump a parametrical option. Therfore the option has to be separated by a colon from the parametername.
     80\-\-parameter\-name parametername
     81.RS 4
     82Dumps the named parameter\. If no section\-name is set the view is limited by default to the global section\. It is also possible to dump a parametrical option\. Therfore the option has to be separated by a colon from the parametername\.
    9183.RE
    9284.PP
    93 --section-name sectionname
    94 .RS 3n
    95 Dumps the named section.
     85\-\-section\-name sectionname
     86.RS 4
     87Dumps the named section\.
    9688.RE
    9789.PP
    9890configfilename
    99 .RS 3n
    100 This is the name of the configuration file to check. If this parameter is not present then the default
     91.RS 4
     92This is the name of the configuration file to check\. If this parameter is not present then the default
    10193\fBsmb.conf\fR(5)
    102 file will be checked.
     94file will be checked\.
    10395.RE
    10496.PP
    10597hostname
    106 .RS 3n
     98.RS 4
    10799If this parameter and the following are specified, then
    108100testparm
     
    115107file to determine if the hostname with this IP address would be allowed access to the
    116108smbd
    117 server. If this parameter is supplied, the hostIP parameter must also be supplied.
     109server\. If this parameter is supplied, the hostIP parameter must also be supplied\.
    118110.RE
    119111.PP
    120112hostIP
    121 .RS 3n
    122 This is the IP address of the host specified in the previous parameter. This address must be supplied if the hostname parameter is supplied.
     113.RS 4
     114This is the IP address of the host specified in the previous parameter\. This address must be supplied if the hostname parameter is supplied\.
    123115.RE
    124116.SH "FILES"
    125117.PP
    126118\fBsmb.conf\fR(5)
    127 .RS 3n
     119.RS 4
    128120This is usually the name of the configuration file used by
    129 \fBsmbd\fR(8).
     121\fBsmbd\fR(8)\.
    130122.RE
    131123.SH "DIAGNOSTICS"
    132124.PP
    133 The program will issue a message saying whether the configuration file loaded OK or not. This message may be preceded by errors and warnings if the file did not load. If the file was loaded OK, the program then dumps all known service details to stdout.
     125The program will issue a message saying whether the configuration file loaded OK or not\. This message may be preceded by errors and warnings if the file did not load\. If the file was loaded OK, the program then dumps all known service details to stdout\.
    134126.SH "VERSION"
    135127.PP
    136 This man page is correct for version 3.0 of the Samba suite.
     128This man page is correct for version 3\.0 of the Samba suite\.
    137129.SH "SEE ALSO"
    138130.PP
     
    141133.SH "AUTHOR"
    142134.PP
    143 The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
     135The original Samba software and related utilities were created by Andrew Tridgell\. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\.
    144136.PP
    145 The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
    146 ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
    147 
     137The original Samba man pages were written by Karl Auer\. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
     138ftp://ftp\.icce\.rug\.nl/pub/unix/) and updated for the Samba 2\.0 release by Jeremy Allison\. The conversion to DocBook for Samba 2\.2 was done by Gerald Carter\. The conversion to DocBook XML 4\.2 for Samba 3\.0 was done by Alexander Bokovoy\.
Note: See TracChangeset for help on using the changeset viewer.