Ignore:
Timestamp:
Jun 29, 2007, 1:34:14 PM (18 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.25b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/docs/manpages/testparm.1

    r39 r44  
    2222testparm - check an smb.conf configuration file for internal correctness
    2323.SH "SYNOPSIS"
    24 .HP 9
    25 \fBtestparm\fR [-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename} [hostname hostIP]
     24.HP 1
     25testparm [-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename} [hostname hostIP]
    2626.SH "DESCRIPTION"
    2727.PP
     
    3030suite.
    3131.PP
    32 \fBtestparm\fR
     32testparm
    3333is a very simple test program to check an
    3434\fBsmbd\fR(8)
    3535configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that
    36 \fBsmbd \fR
     36smbd
    3737will successfully load the configuration file.
    3838.PP
     
    4444.PP
    4545If
    46 \fBtestparm\fR
     46testparm
    4747finds an error in the
    4848\fI smb.conf\fR
    4949file 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 \fBtestparm\fR.
     50testparm.
    5151.SH "OPTIONS"
    5252.PP
     
    5454.RS 3n
    5555Without this option,
    56 \fBtestparm\fR
     56testparm
    5757will prompt for a carriage return after printing the service names and before dumping the service definitions.
    5858.RE
     
    106106.RS 3n
    107107If this parameter and the following are specified, then
    108 \fBtestparm\fR
     108testparm
    109109will examine the
    110110\fIhosts allow\fR
     
    114114\fBsmb.conf\fR(5)
    115115file to determine if the hostname with this IP address would be allowed access to the
    116 \fBsmbd\fR
     116smbd
    117117server. If this parameter is supplied, the hostIP parameter must also be supplied.
    118118.RE
Note: See TracChangeset for help on using the changeset viewer.