Ignore:
Timestamp:
Jun 29, 2007, 1:34:14 PM (18 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.25b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/docs/htmldocs/manpages/testparm.1.html

    r39 r44  
    11<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>testparm</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.71.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="testparm.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>testparm &#8212; check an smb.conf configuration file for
    2         internal correctness</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">testparm</code>  [-s] [-h] [-v] [-L &lt;servername&gt;] [-t &lt;encoding&gt;] {config filename} [hostname hostIP]</p></div></div><div class="refsect1" lang="en"><a name="id259558"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p><span><strong class="command">testparm</strong></span> is a very simple test program
     2        internal correctness</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="> is a very simple test program
    33        to check an <a href="smbd.8.html"><span class="citerefentry"><span class="refentrytitle">smbd</span>(8)</span></a> configuration file for
    44        internal correctness. If this program reports no problems, you
    5         can use the configuration file with confidence that <span><strong class="command">smbd
    6         </strong></span> will successfully load the configuration file.</p><p>Note that this is <span class="emphasis"><em>NOT</em></span> a guarantee that
     5        can use the configuration file with confidence that <">smbd
     6        </> will successfully load the configuration file.</p><p>Note that this is <span class="emphasis"><em>NOT</em></span> a guarantee that
    77        the services specified in the configuration file will be
    88        available or will operate as expected. </p><p>If the optional host name and host IP address are
    99        specified on the command line, this test program will run through
    1010        the service entries reporting whether the specified host
    11         has access to each service. </p><p>If <span><strong class="command">testparm</strong></span> finds an error in the <code class="filename">
     11        has access to each service. </p><p>If <> finds an error in the <code class="filename">
    1212        smb.conf</code> file it returns an exit code of 1 to the calling
    1313        program, else it returns an exit code of 0. This allows shell scripts
    14         to test the output from <span><strong class="command">testparm</strong></span>.</p></div><div class="refsect1" lang="en"><a name="id259384"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-s</span></dt><dd><p>Without this option, <span><strong class="command">testparm</strong></span>
     14        to test the output from <>
    1515                will prompt for a carriage return after printing the service
    1616                names and before dumping the service definitions.</p></dd><dt><span class="term">-h|--help</span></dt><dd><p>Print a summary of command line options.
     
    3434                default <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file will be checked.   
    3535                </p></dd><dt><span class="term">hostname</span></dt><dd><p>If this parameter and the following are
    36                 specified, then <span><strong class="command">testparm</strong></span> will examine the <em class="parameter"><code>hosts
     36                specified, then <> will examine the <em class="parameter"><code>hosts
    3737                allow</code></em> and <em class="parameter"><code>hosts deny</code></em>
    3838                parameters in the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file to
    3939                determine if the hostname with this IP address would be
    40                 allowed access to the <span><strong class="command">smbd</strong></span> server.  If
     40                allowed access to the <> server.  If
    4141                this parameter is supplied, the hostIP parameter must also
    4242                be supplied.</p></dd><dt><span class="term">hostIP</span></dt><dd><p>This is the IP address of the host specified
Note: See TracChangeset for help on using the changeset viewer.