drepl: Support GET_TGT on periodic replication client
[nivanova/samba-autobuild/.git] / docs-xml / manpages / net.8.xml
index ccc993bfd81e742fd17c69ee2703a03a83f0c061..a43a062d6193125590b9849425a4ceb053642074 100644 (file)
@@ -7,7 +7,7 @@
        <manvolnum>8</manvolnum>
        <refmiscinfo class="source">Samba</refmiscinfo>
        <refmiscinfo class="manual">System Administration tools</refmiscinfo>
-       <refmiscinfo class="version">4.1</refmiscinfo>
+       <refmiscinfo class="version">4.7</refmiscinfo>
 </refmeta>
 
 
                </varlistentry>
 
                &stdarg.netbios.name;
-               &stdarg.configfile;
 
                <varlistentry>
                <term>-S|--server server</term>
                </para></listitem>
                </varlistentry>
 
+               <varlistentry>
+               <term>-T|--test</term>
+               <listitem><para>Only test command sequence, dry-run.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-F|--flags FLAGS</term>
+               <listitem><para>Pass down integer flags to a net subcommand.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-C|--comment COMMENT</term>
+               <listitem><para>Pass down a comment string to a net subcommand.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-n|--myname MYNAME</term>
+               <listitem><para>Use MYNAME as a requester name for a net subcommand.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-c|--container CONTAINER</term>
+               <listitem><para>Use a specific AD container for net ads operations.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-M|--maxusers MAXUSERS</term>
+               <listitem><para>Fill in the maxusers field in net rpc share operations.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-r|--reboot</term>
+               <listitem><para>Reboot a remote machine after a command has been successfully executed (e.g. in remote join operations).
+               </para></listitem>
+               </varlistentry>
+
+               <!-- Options for net rpc vampire -->
+
+               <varlistentry>
+               <term>--force-full-repl</term>
+               <listitem><para>
+                               When calling "net rpc vampire keytab" this option
+                               enforces a full re-creation of the generated keytab file.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--single-obj-repl</term>
+               <listitem><para>
+                               When calling "net rpc vampire keytab" this option
+                               allows one to replicate just a single object to the generated keytab file.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--clean-old-entries</term>
+               <listitem><para>
+                               When calling "net rpc vampire keytab" this option
+                               allows one to cleanup old entries from the generated keytab file.
+               </para></listitem>
+               </varlistentry>
+
+               <!-- Options for net idmap -->
+
+               <varlistentry>
+               <term>--db</term>
+               <listitem><para>Define dbfile for "net idmap" commands.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--lock</term>
+               <listitem><para>Activates locking of the dbfile for "net idmap check" command.
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-a|--auto</term>
+               <listitem><para>Activates noninteractive mode in "net idmap check".
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--repair</term>
+               <listitem><para>Activates repair mode in "net idmap check".
+               </para></listitem>
+               </varlistentry>
+
+               <!-- Options for net rpc share migrate -->
+
+               <varlistentry>
+               <term>--acls</term>
+               <listitem><para>Includes ACLs to be copied in "net rpc share migrate".
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--attrs</term>
+               <listitem><para>Includes file attributes to be copied in "net rpc share migrate".
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--timestamps</term>
+               <listitem><para>Includes timestamps to be copied in "net rpc share migrate".
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-X|--exclude DIRECTORY</term>
+               <listitem><para>Allows one to exclude directories when copying with "net rpc share migrate".
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--destination SERVERNAME</term>
+               <listitem><para>Defines the target servername of migration process (defaults to localhost).
+               </para></listitem>
+               </varlistentry>
+
+               <!-- Options for net groupmap set -->
+
+               <varlistentry>
+               <term>-L|--local</term>
+               <listitem><para>Sets the type of group mapping to local
+                               (used in "net groupmap set").
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-D|--domain</term>
+               <listitem><para>Sets the type of group mapping to domain
+                               (used in "net groupmap set").
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-N|--ntname NTNAME</term>
+               <listitem><para>Sets the ntname of a group mapping
+                               (used in "net groupmap set").
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-R|--rid RID</term>
+               <listitem><para>Sets the rid of a group mapping
+                               (used in "net groupmap set").
+               </para></listitem>
+               </varlistentry>
+
+               <!-- Options for net registry check -->
+
+               <varlistentry>
+               <term>--reg-version REG_VERSION</term>
+               <listitem><para>Assume database version {n|1,2,3}
+                               (used in "net registry check").
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>-o|--output FILENAME</term>
+               <listitem><para>Output database file
+                               (used in "net registry check").
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--wipe</term>
+               <listitem><para>Create a new database from scratch
+                               (used in "net registry check").
+               </para></listitem>
+               </varlistentry>
+
+               <!-- Options for net registry import -->
+
+               <varlistentry>
+               <term>--precheck PRECHECK_DB_FILENAME</term>
+               <listitem><para>Defines filename for database prechecking
+                               (used in "net registry import").
+               </para></listitem>
+               </varlistentry>
+
+               <varlistentry>
+               <term>--no-dns-updates</term>
+               <listitem><para>Do not perform DNS updates as part of
+               "net ads join".
+               </para></listitem>
+               </varlistentry>
+
                &stdarg.encrypt;
                &popt.common.samba.client;
 
@@ -216,7 +410,8 @@ YOU HAVE BEEN WARNED.
 <title>TIME</title>
 
 <para>Without any options, the <command>NET TIME</command> command 
-displays the time on the remote server.
+displays the time on the remote server. The remote server must be
+specified with the -S option.
 </para>
 
 </refsect3>
@@ -224,28 +419,35 @@ displays the time on the remote server.
 <refsect3>
 <title>TIME SYSTEM</title>
 
-<para>Displays the time on the remote server in a format ready for <command>/bin/date</command>.</para>
+<para>Displays the time on the remote server in a format ready for <command>/bin/date</command>.
+The remote server must be specified with the -S option.
+</para>
 
 </refsect3>
 
 <refsect3>
 <title>TIME SET</title>
 <para>Tries to set the date and time of the local server to that on 
-the remote server using <command>/bin/date</command>. </para>
+the remote server using <command>/bin/date</command>.
+The remote server must be specified with the -S option.
+</para>
 
 </refsect3>
 
 <refsect3>
 <title>TIME ZONE</title>
 
-<para>Displays the timezone in hours from GMT on the remote computer.</para>
+<para>Displays the timezone in hours from GMT on the remote server.
+The remote server must be specified with the -S option.
+</para>
 
 </refsect3>
 </refsect2>
 
 <refsect2>
-<title>[RPC|ADS] JOIN [TYPE] [-U username[%password]] [createupn=UPN]
-[createcomputer=OU] [machinepass=PASS] [osName=string osVer=string] [options]</title>
+<title>[RPC|ADS] JOIN [TYPE] [--no-dns-updates] [-U username[%password]]
+[createupn=UPN] [createcomputer=OU] [machinepass=PASS]
+[osName=string osVer=string] [options]</title>
 
 <para>
 Join a domain.  If the account already exists on the server, and 
@@ -1041,6 +1243,8 @@ to run this against the PDC, from a Samba machine joined as a BDC. </para>
 
 <para>Export users, aliases and groups from remote server to 
 local server.  You need to run this against the PDC, from a Samba machine joined as a BDC. 
+This vampire command cannot be used against an Active Directory, only
+against an NT4 Domain Controller.
 </para>
 </refsect2>
 
@@ -1061,7 +1265,7 @@ local server.  You need to run this against the PDC, from a Samba machine joined
 <refsect2>
 <title>RPC GETSID</title>
 
-<para>Fetch domain SID and store it in the local <filename>secrets.tdb</filename> (or <filename>secrets.ntdb</filename>). </para>
+<para>Fetch domain SID and store it in the local <filename>secrets.tdb</filename>. </para>
 
 </refsect2>
 
@@ -1141,6 +1345,59 @@ to show in the result.
 
 </refsect2>
 
+<refsect2>
+       <title>ADS ENCTYPES</title>
+
+<para>
+       List, modify or delete the value of the "msDS-SupportedEncryptionTypes" attribute of an account in AD.
+</para>
+
+<para>
+       This attribute allows one to control which Kerberos encryption types are used for the generation of initial and service tickets. The value consists of an integer bitmask with the following values:
+</para>
+
+<para>0x00000001 DES-CBC-CRC</para>
+<para>0x00000002 DES-CBC-MD5</para>
+<para>0x00000004 RC4-HMAC</para>
+<para>0x00000008 AES128-CTS-HMAC-SHA1-96</para>
+<para>0x00000010 AES256-CTS-HMAC-SHA1-96</para>
+
+</refsect2>
+
+<refsect2>
+       <title>ADS ENCTYPES LIST <replaceable>&lt;ACCOUNTNAME&gt;</replaceable></title>
+
+<para>
+       List the value of the "msDS-SupportedEncryptionTypes" attribute of a given account.
+</para>
+
+<para>Example: <userinput>net ads enctypes list Computername</userinput></para>
+
+</refsect2>
+
+<refsect2>
+       <title>ADS ENCTYPES SET <replaceable>&lt;ACCOUNTNAME&gt;</replaceable> <replaceable>[enctypes]</replaceable></title>
+
+<para>
+       Set the value of the "msDS-SupportedEncryptionTypes" attribute of the LDAP object of ACCOUNTNAME to a given value. If the value is omitted, the value is set to 31 which enables all the currently supported encryption types.
+</para>
+
+<para>Example: <userinput>net ads enctypes set Computername 24</userinput></para>
+
+</refsect2>
+
+<refsect2>
+       <title>ADS ENCTYPES DELETE <replaceable>&lt;ACCOUNTNAME&gt;</replaceable></title>
+
+<para>
+       Deletes the "msDS-SupportedEncryptionTypes" attribute of the LDAP object of ACCOUNTNAME.
+</para>
+
+<para>Example: <userinput>net ads enctypes set Computername 24</userinput></para>
+
+</refsect2>
+
+
 <refsect2>
 <title>SAM CREATEBUILTINGROUP &lt;NAME&gt;</title>
 
@@ -2449,6 +2706,28 @@ Dump the locking table of a certain global lock.
 
 </refsect2>
 
+<refsect2>
+       <title>TDB</title>
+
+       <para>Print information from tdb records.</para>
+
+       <refsect3>
+               <title>TDB LOCKING <replaceable>key</replaceable> [DUMP]</title>
+
+               <para>List sharename, filename and number of share modes
+               for a record from locking.tdb. With the optional DUMP options,
+               dump the complete record.</para>
+
+               <itemizedlist>
+                       <listitem>
+                               <para><replaceable>KEY</replaceable>
+                               Key of the tdb record as hex string.</para>
+                       </listitem>
+               </itemizedlist>
+
+       </refsect3>
+</refsect2>
+
 <refsect2>
 <title>HELP [COMMAND]</title>