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
71 >Note that this is <EM
74 the services specified in the configuration file will be
75 available or will operate as expected. </P
77 >If the optional host name and host IP address are
78 specified on the command line, this test program will run through
79 the service entries reporting whether the specified host
80 has access to each service. </P
85 > finds an error in the <TT
88 > file it returns an exit code of 1 to the calling
89 program, else it returns an exit code of 0. This allows shell scripts
90 to test the output from <B
111 >Without this option, <B
115 will prompt for a carriage return after printing the service
116 names and before dumping the service definitions.</P
122 >Print usage message </P
128 >Sets the value of the %L macro to servername.
129 This is useful for testing include files specified with the
136 >This is the name of the configuration file
137 to check. If this parameter is not present then the
141 > file will be checked.
148 >If this parameter and the following are
149 specified, then testparm will examine the <TT
161 parameters in the <TT
165 determine if the hostname with this IP address would be
166 allowed access to the <B
170 this parameter is supplied, the hostIP parameter must also
177 >This is the IP address of the host specified
178 in the previous parameter. This address must be supplied
179 if the hostname parameter is supplied. </P
203 >This is usually the name of the configuration
221 >The program will issue a message saying whether the
222 configuration file loaded OK or not. This message may be preceeded by
223 errors and warnings if the file did not load. If the file was
224 loaded OK, the program then dumps all known service details
235 >This man page is correct for version 2.2 of
247 HREF="smb.conf.5.html"
272 >The original Samba software and related utilities
273 were created by Andrew Tridgell. Samba is now developed
274 by the Samba Team as an Open Source project similar
275 to the way the Linux kernel is developed.</P
277 >The original Samba man pages were written by Karl Auer.
278 The man page sources were converted to YODL format (another
279 excellent piece of Open Source software, available at
281 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
283 > ftp://ftp.icce.rug.nl/pub/unix/</A
284 >) and updated for the Samba 2.0
285 release by Jeremy Allison. The conversion to DocBook for
286 Samba 2.2 was done by Gerald Carter</P