summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorJule Anger <ja@sernet.de>2020-08-06 15:40:43 +0200
committerDouglas Bagnall <dbagnall@samba.org>2020-10-01 01:18:39 +0000
commit3ff79e81fb83cf466063ed3e8ac986a58430dafe (patch)
tree3aea1cfa7ed7cd24d7f575f8ce8cc416d96f6b42 /docs-xml
parent4b06ff7ffcec32d8382a807c0c538fbca17721ae (diff)
downloadsamba-3ff79e81fb83cf466063ed3e8ac986a58430dafe.tar.gz
doc: add samba-tool group rename command to samba-tool man page
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>
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/manpages/samba-tool.8.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/docs-xml/manpages/samba-tool.8.xml b/docs-xml/manpages/samba-tool.8.xml
index 9f58b98635a..e268519f7bb 100644
--- a/docs-xml/manpages/samba-tool.8.xml
+++ b/docs-xml/manpages/samba-tool.8.xml
@@ -872,6 +872,48 @@
<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>