From 3db52feb1f3b2c07ce0b06ad4a7099fa6efe3fc7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Dec 1999 13:27:58 +0000 Subject: first pass at updating head branch to be to be the same as the SAMBA_2_0 branch (This used to be commit 453a822a76780063dff23526c35408866d0c0154) --- docs/htmldocs/testparm.1.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'docs/htmldocs/testparm.1.html') diff --git a/docs/htmldocs/testparm.1.html b/docs/htmldocs/testparm.1.html index 00db231626..1e0396af33 100644 --- a/docs/htmldocs/testparm.1.html +++ b/docs/htmldocs/testparm.1.html @@ -24,7 +24,7 @@


SYNOPSIS

-


testparm [-s] [configfilename] [hostname hostIP] +


testparm [-s] [-h] [-L servername] [configfilename] [hostname hostIP]


DESCRIPTION

@@ -39,6 +39,10 @@ configuration file will be available or will operate as expected.


If the optional host name and host IP address are specified on the command line, this test program will run through the service entries reporting whether the specified host has access to each service. +


If testparm finds an error in the smb.conf +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 +testparm.


OPTIONS

@@ -47,6 +51,11 @@ reporting whether the specified host has access to each service.
  • -s Without this option, testparm will prompt for a carriage return after printing the service names and before dumping the service definitions. +


    +

  • -h Print usage message +


    +

  • -L servername Sets the value of the %L macro to servername. This +is useful for testing include files specified with the %L macro.


  • configfilename This is the name of the configuration file to check. If this parameter is not present then the default -- cgit