7 CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD
27 >testparm -- check an smb.conf configuration file for
28 internal correctness</DIV
30 CLASS="REFSYNOPSISDIV"
40 > [-s] [-h] [-L <servername>] {config filename} [hostname hostIP]</P
50 >This tool is part of the <A
59 > is a very simple test program
63 > configuration file for
64 internal correctness. If this program reports no problems, you
65 can use the configuration file with confidence that <B
69 > will successfully load the configuration file.</P
75 the services specified in the configuration file will be
76 available or will operate as expected. </P
78 >If the optional host name and host IP address are
79 specified on the command line, this test program will run through
80 the service entries reporting whether the specified host
81 has access to each service. </P
86 > finds an error in the <TT
89 > file it returns an exit code of 1 to the calling
90 program, else it returns an exit code of 0. This allows shell scripts
91 to test the output from <B
112 >Without this option, <B
116 will prompt for a carriage return after printing the service
117 names and before dumping the service definitions.</P
123 >Print usage message </P
129 >Sets the value of the %L macro to servername.
130 This is useful for testing include files specified with the
137 >This is the name of the configuration file
138 to check. If this parameter is not present then the
142 > file will be checked.
149 >If this parameter and the following are
150 specified, then testparm will examine the <TT
162 parameters in the <TT
166 determine if the hostname with this IP address would be
167 allowed access to the <B
171 this parameter is supplied, the hostIP parameter must also
178 >This is the IP address of the host specified
179 in the previous parameter. This address must be supplied
180 if the hostname parameter is supplied. </P
204 >This is usually the name of the configuration
222 >The program will issue a message saying whether the
223 configuration file loaded OK or not. This message may be preceeded by
224 errors and warnings if the file did not load. If the file was
225 loaded OK, the program then dumps all known service details
236 >This man page is correct for version 2.2 of
248 HREF="smb.conf.5.html"
273 >The original Samba software and related utilities
274 were created by Andrew Tridgell. Samba is now developed
275 by the Samba Team as an Open Source project similar
276 to the way the Linux kernel is developed.</P
278 >The original Samba man pages were written by Karl Auer.
279 The man page sources were converted to YODL format (another
280 excellent piece of Open Source software, available at
282 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
284 > ftp://ftp.icce.rug.nl/pub/unix/</A
285 >) and updated for the Samba 2.0
286 release by Jeremy Allison. The conversion to DocBook for
287 Samba 2.2 was done by Gerald Carter</P