]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
doc: add samba-tool group rename command to samba-tool man page
authorJule Anger <ja@sernet.de>
Thu, 6 Aug 2020 13:40:43 +0000 (15:40 +0200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 1 Oct 2020 01:18:39 +0000 (01:18 +0000)
Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
docs-xml/manpages/samba-tool.8.xml

index 9f58b98635a21e4473a42d09fc41ca535770dd6e..e268519f7bbc35c36cba4ab0c5b3f2c1ccc8a1cd 100644 (file)
        <para>Show statistics for overall groups and group memberships.</para>
 </refsect3>
 
+<refsect3>
+       <title>group rename <replaceable>groupname</replaceable> [options]</title>
+       <para>Rename a group and related attributes.</para>
+       <para>This command allows to set the group's name related attributes. The
+       group's CN will be renamed automatically.
+       The group's CN will be the sAMAccountName.
+       Use the --force-new-cn option to specify the new CN manually and the
+       --reset-cn to reset this change.</para>
+       <para>Use an empty attribute value to remove the specified attribute.</para>
+       <para>The groupname specified on the command is the sAMAccountName.</para>
+
+       <variablelist>
+       <varlistentry>
+       <term>--force-new-cn=NEW_CN</term>
+       <listitem><para>
+       Specify a new CN (RDN) instead of using the sAMAccountName.
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--reset-cn</term>
+       <listitem><para>
+       Set the CN to the sAMAccountName.
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--mail-address=MAIL_ADDRESS</term>
+       <listitem><para>
+       New mail address
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--samaccountname=SAMACCOUNTNAME</term>
+       <listitem><para>
+       New account name (sAMAccountName/logon name)
+       </para></listitem>
+       </varlistentry>
+       </variablelist>
+</refsect3>
+
 <refsect2>
        <title>ldapcmp <replaceable>URL1</replaceable> <replaceable>URL2</replaceable> <replaceable>domain|configuration|schema|dnsdomain|dnsforest</replaceable> [options] </title>
        <para>Compare two LDAP databases.</para>