1 .TH TESTPARM 1 "19 Mar 2000" "testparm TNG-prealpha"
4 testparm \- check an smb\&.conf configuration file for internal correctness
8 \fBtestparm\fP [-s] [configfilename] [hostname hostIP]
12 This program is part of the \fBSamba\fP suite\&.
14 \fBtestparm\fP is a very simple test program to check an
15 \fBsmbd\fP configuration file for internal
16 correctness\&. If this program reports no problems, you can use the
17 configuration file with confidence that \fBsmbd\fP
18 will successfully load the configuration file\&.
20 Note that this is \fINOT\fP a guarantee that the services specified in the
21 configuration file will be available or will operate as expected\&.
23 If the optional host name and host IP address are specified on the
24 command line, this test program will run through the service entries
25 reporting whether the specified host has access to each service\&.
31 Without this option, \fBtestparm\fP will prompt for a
32 carriage return after printing the service names and before dumping
33 the service definitions\&.
35 .IP "\fBconfigfilename\fP"
36 This is the name of the configuration file to
37 check\&. If this parameter is not present then the default
38 \fBsmb\&.conf\fP file will be checked\&.
41 If this parameter and the following are specified,
42 then testparm will examine the \fB"hosts
43 allow"\fP and \fB"hosts
44 deny"\fP parameters in the
45 \fBsmb\&.conf\fP file to determine if the hostname
46 with this IP address would be allowed access to the
47 \fBsmbd\fP server\&. If this parameter is supplied, the
48 hostIP parameter must also be supplied\&.
51 This is the IP address of the host specified in the
52 previous parameter\&. This address must be supplied if the hostname
53 parameter is supplied\&.
58 \fBsmb\&.conf\fP\&. This is usually the name of the
59 configuration file used by \fBsmbd\fP\&.
63 The program will issue a message saying whether the configuration file
64 loaded OK or not\&. This message may be preceded by errors and warnings
65 if the file did not load\&. If the file was loaded OK, the program then
66 dumps all known service details to stdout\&.
70 This man page is correct for version 2\&.0 of the Samba suite\&.
74 \fBsmb\&.conf (5)\fP, \fBsmbd (8)\fP
78 The original Samba software and related utilities were created by
79 Andrew Tridgell \fIsamba-bugs@samba\&.org\fP\&. Samba is now developed
80 by the Samba Team as an Open Source project similar to the way the
81 Linux kernel is developed\&.
83 The original Samba man pages were written by Karl Auer\&. The man page
84 sources were converted to YODL format (another excellent piece of Open
85 Source software, available at
86 \fBftp://ftp\&.icce\&.rug\&.nl/pub/unix/\fP)
87 and updated for the Samba2\&.0 release by Jeremy Allison\&.
88 \fIsamba-bugs@samba\&.org\fP\&.
90 See \fBsamba (7)\fP to find out how to get a full
91 list of contributors and details on how to submit bug reports,