s4-torture: Test rpc schannel netr_LogonGetCapability.
[mat/samba.git] / docs-xml / manpages-3 / net.8.xml
index 2c6c11ecf84f0bbe78c7cc9df6fb14cac913779d..355e3f782db252f84a99006b67e75b003b78f074 100644 (file)
@@ -61,6 +61,7 @@
 
        <variablelist>
                &stdarg.help;
+               &stdarg.kerberos;
                
                <varlistentry>
                <term>-w target-workgroup</term>
@@ -1656,11 +1657,12 @@ shares created by other users.
 </refsect2>
 
 <refsect2>
-<title>CONF</title>
+<title>[RPC] CONF</title>
 
 <para>Starting with version 3.2.0, a Samba server can be configured by data
 stored in registry. This configuration data can be edited with the new "net
-conf" commands.
+conf" commands. There is also the possiblity to configure a remote Samba server
+by enabling the RPC conf mode and specifying the the address of the remote server.
 </para>
 
 <para>
@@ -1678,27 +1680,27 @@ See the <citerefentry><refentrytitle>smb.conf</refentrytitle>
 
 <para>The conf commands are:
 <simplelist>
-<member>net conf list - Dump the complete configuration in smb.conf like
+<member>net [rpc] conf list - Dump the complete configuration in smb.conf like
 format.</member>
-<member>net conf import - Import configuration from file in smb.conf
+<member>net [rpc] conf import - Import configuration from file in smb.conf
 format.</member>
-<member>net conf listshares - List the registry shares.</member>
-<member>net conf drop - Delete the complete configuration from
+<member>net [rpc] conf listshares - List the registry shares.</member>
+<member>net [rpc] conf drop - Delete the complete configuration from
 registry.</member>
-<member>net conf showshare - Show the definition of a registry share.</member>
-<member>net conf addshare - Create a new registry share.</member>
-<member>net conf delshare - Delete a registry share.</member>
-<member>net conf setparm - Store a parameter.</member>
-<member>net conf getparm - Retrieve the value of a parameter.</member>
-<member>net conf delparm - Delete a parameter.</member>
-<member>net conf getincludes - Show the includes of a share definition.</member>
-<member>net conf setincludes - Set includes for a share.</member>
-<member>net conf delincludes - Delete includes from a share definition.</member>
+<member>net [rpc] conf showshare - Show the definition of a registry share.</member>
+<member>net [rpc] conf addshare - Create a new registry share.</member>
+<member>net [rpc] conf delshare - Delete a registry share.</member>
+<member>net [rpc] conf setparm - Store a parameter.</member>
+<member>net [rpc] conf getparm - Retrieve the value of a parameter.</member>
+<member>net [rpc] conf delparm - Delete a parameter.</member>
+<member>net [rpc] conf getincludes - Show the includes of a share definition.</member>
+<member>net [rpc] conf setincludes - Set includes for a share.</member>
+<member>net [rpc] conf delincludes - Delete includes from a share definition.</member>
 </simplelist>
 </para>
 
 <refsect3>
-<title>CONF LIST</title>
+<title>[RPC] CONF LIST</title>
 
 <para>
 Print the configuration data stored in the registry in a smb.conf-like format to
@@ -1707,7 +1709,7 @@ standard output.
 </refsect3>
 
 <refsect3>
-<title>CONF IMPORT <replaceable>[--test|-T]</replaceable> <replaceable>filename</replaceable> <replaceable>[section]</replaceable></title>
+<title>[RPC] CONF IMPORT <replaceable>[--test|-T]</replaceable> <replaceable>filename</replaceable> <replaceable>[section]</replaceable></title>
 
 <para>
 This command imports configuration from a file in smb.conf format.
@@ -1723,7 +1725,7 @@ registry, and the resulting configuration is printed to standard output instead.
 </refsect3>
 
 <refsect3>
-<title>CONF LISTSHARES</title>
+<title>[RPC] CONF LISTSHARES</title>
 
 <para>
 List the names of the shares defined in registry.
@@ -1731,7 +1733,7 @@ List the names of the shares defined in registry.
 </refsect3>
 
 <refsect3>
-<title>CONF DROP</title>
+<title>[RPC] CONF DROP</title>
 
 <para>
 Delete the complete configuration data from registry.
@@ -1739,7 +1741,7 @@ Delete the complete configuration data from registry.
 </refsect3>
 
 <refsect3>
-<title>CONF SHOWSHARE <replaceable>sharename</replaceable></title>
+<title>[RPC] CONF SHOWSHARE <replaceable>sharename</replaceable></title>
 
 <para>
 Show the definition of the share or section specified. It is valid to specify
@@ -1749,7 +1751,7 @@ registry.
 </refsect3>
 
 <refsect3>
-<title>CONF ADDSHARE <replaceable>sharename</replaceable> <replaceable>path</replaceable> [<replaceable>writeable={y|N}</replaceable> [<replaceable>guest_ok={y|N}</replaceable> [<replaceable>comment</replaceable>]]] </title>
+<title>[RPC] CONF ADDSHARE <replaceable>sharename</replaceable> <replaceable>path</replaceable> [<replaceable>writeable={y|N}</replaceable> [<replaceable>guest_ok={y|N}</replaceable> [<replaceable>comment</replaceable>]]] </title>
 
 <para>Create a new share definition in registry.
 The sharename and path have to be given. The share name may
@@ -1761,7 +1763,7 @@ commands.
 </refsect3>
 
 <refsect3>
-<title>CONF DELSHARE <replaceable>sharename</replaceable></title>
+<title>[RPC] CONF DELSHARE <replaceable>sharename</replaceable></title>
 
 <para>
 Delete a share definition from registry.
@@ -1769,7 +1771,7 @@ Delete a share definition from registry.
 </refsect3>
 
 <refsect3>
-<title>CONF SETPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable> <replaceable>value</replaceable></title>
+<title>[RPC] CONF SETPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable> <replaceable>value</replaceable></title>
 
 <para>
 Store a parameter in registry. The section may be global or a sharename.
@@ -1778,7 +1780,7 @@ The section is created if it does not exist yet.
 </refsect3>
 
 <refsect3>
-<title>CONF GETPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable></title>
+<title>[RPC] CONF GETPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable></title>
 
 <para>
 Show a parameter stored in registry.
@@ -1786,7 +1788,7 @@ Show a parameter stored in registry.
 </refsect3>
 
 <refsect3>
-<title>CONF DELPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable></title>
+<title>[RPC] CONF DELPARM <replaceable>section</replaceable> <replaceable>parameter</replaceable></title>
 
 <para>
 Delete a parameter stored in registry.
@@ -1794,7 +1796,7 @@ Delete a parameter stored in registry.
 </refsect3>
 
 <refsect3>
-<title>CONF GETINCLUDES <replaceable>section</replaceable></title>
+<title>[RPC] CONF GETINCLUDES <replaceable>section</replaceable></title>
 
 <para>
 Get the list of includes for the provided section (global or share).
@@ -1820,7 +1822,7 @@ data from other registry keys.
 </refsect3>
 
 <refsect3>
-<title>CONF SETINCLUDES <replaceable>section</replaceable> [<replaceable>filename</replaceable>]+</title>
+<title>[RPC] CONF SETINCLUDES <replaceable>section</replaceable> [<replaceable>filename</replaceable>]+</title>
 
 <para>
 Set the list of includes for the provided section (global or share) to the given
@@ -1830,7 +1832,7 @@ macros like %I.
 </refsect3>
 
 <refsect3>
-<title>CONF DELINCLUDES <replaceable>section</replaceable></title>
+<title>[RPC] CONF DELINCLUDES <replaceable>section</replaceable></title>
 
 <para>
 Delete the list of includes from the provided section (global or share).
@@ -1869,6 +1871,8 @@ string.</member>
 </member>
 <member>net registry convert     - Convert a registration entries (.reg) file.
 </member>
+<member>net registry check       - Check and reapair a registry database.
+</member>
 </simplelist>
 </para>
 
@@ -2009,6 +2013,77 @@ string.</member>
   </para>
 </refsect3>
 
+<refsect3>
+  <title>REGISTRY CHECK [-ravTl] [-o &lt;ODB&gt;] [--wipe] [&lt;DB&gt;]</title>
+  <para>Check and repair the registry database. If no option is given a read only check of the database is done. Among others an interactive or automatic repair mode may be chosen with one of the following options
+
+  <variablelist>
+    <varlistentry><term>-r|--repair</term>
+    <listitem><para>
+      Interactive repair mode, ask a lot of questions.
+    </para></listitem>
+    </varlistentry>
+
+    <varlistentry><term>-a|--auto</term>
+    <listitem><para>
+      Noninteractive repair mode, use default answers.
+    </para></listitem>
+    </varlistentry>
+
+    <varlistentry><term>-v|--verbose</term>
+      <listitem><para>
+       Produce more output.
+      </para></listitem>
+    </varlistentry>
+
+    <varlistentry><term>-T|--test</term>
+      <listitem><para>
+       Dry run, show what changes would be made but don't touch anything.
+      </para></listitem>
+    </varlistentry>
+
+    <varlistentry><term>-l|--lock</term>
+      <listitem><para>
+       Lock the database while doing the check.
+      </para></listitem>
+    </varlistentry>
+
+   <varlistentry><term>--reg-version={1,2,3}</term>
+      <listitem><para>
+       Specify the format of the registry database. If not given it defaults to
+       the value of the binary or, if an registry.tdb is explizitly stated at
+       the commandline, to the value found in the INFO/version record.
+      </para></listitem>
+    </varlistentry>
+
+    <varlistentry><term>[--db] &lt;DB&gt;</term>
+      <listitem><para>
+       Check the specified database.
+      </para></listitem>
+    </varlistentry>
+
+    <varlistentry><term>-o|--output &lt;ODB&gt;</term>
+      <listitem><para>
+       Create a new registry database &lt;ODB&gt; instead of modifying the
+       input. If &lt;ODB&gt; is already existing --wipe may be used to
+       overwrite it.
+      </para></listitem>
+    </varlistentry>
+
+   <varlistentry><term>--wipe</term>
+      <listitem><para>
+       Replace the registry database instead of modifying the input or
+       overwrite an existing output database.
+      </para></listitem>
+    </varlistentry>
+
+    <varlistentry><term></term>
+      <listitem><para>
+      </para></listitem>
+    </varlistentry>
+  </variablelist>
+  </para>
+</refsect3>
 
 </refsect2>