Changeset 44 for trunk/samba/docs/manpages/testparm.1
- Timestamp:
- Jun 29, 2007, 1:34:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/docs/manpages/testparm.1
r39 r44 22 22 testparm - check an smb.conf configuration file for internal correctness 23 23 .SH "SYNOPSIS" 24 .HP 925 \fBtestparm\fR[-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename} [hostname hostIP]24 .HP 1 25 testparm [-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename} [hostname hostIP] 26 26 .SH "DESCRIPTION" 27 27 .PP … … 30 30 suite. 31 31 .PP 32 \fBtestparm\fR 32 testparm 33 33 is a very simple test program to check an 34 34 \fBsmbd\fR(8) 35 35 configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that 36 \fBsmbd \fR 36 smbd 37 37 will successfully load the configuration file. 38 38 .PP … … 44 44 .PP 45 45 If 46 \fBtestparm\fR 46 testparm 47 47 finds an error in the 48 48 \fI smb.conf\fR 49 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 \fBtestparm\fR.50 testparm. 51 51 .SH "OPTIONS" 52 52 .PP … … 54 54 .RS 3n 55 55 Without this option, 56 \fBtestparm\fR 56 testparm 57 57 will prompt for a carriage return after printing the service names and before dumping the service definitions. 58 58 .RE … … 106 106 .RS 3n 107 107 If this parameter and the following are specified, then 108 \fBtestparm\fR 108 testparm 109 109 will examine the 110 110 \fIhosts allow\fR … … 114 114 \fBsmb.conf\fR(5) 115 115 file to determine if the hostname with this IP address would be allowed access to the 116 \fBsmbd\fR 116 smbd 117 117 server. If this parameter is supplied, the hostIP parameter must also be supplied. 118 118 .RE
Note:
See TracChangeset
for help on using the changeset viewer.