From: Jule Anger Date: Thu, 6 Aug 2020 13:25:13 +0000 (+0200) Subject: doc: add samba-tool user rename command to samba-tool man page X-Git-Tag: talloc-2.3.2~365 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06997d1558bced6b2baf71048739f5a97c99ef2e;p=thirdparty%2Fsamba.git doc: add samba-tool user rename command to samba-tool man page Signed-off-by: Jule Anger Reviewed-by: Björn Baumbach Reviewed-by: Douglas Bagnall --- diff --git a/docs-xml/manpages/samba-tool.8.xml b/docs-xml/manpages/samba-tool.8.xml index ef55d72e714..9f58b98635a 100644 --- a/docs-xml/manpages/samba-tool.8.xml +++ b/docs-xml/manpages/samba-tool.8.xml @@ -1232,6 +1232,87 @@ authentication). + + user rename <replaceable>username</replaceable> [options] + Rename a user and related attributes. + This command allows to set the user's name related attributes. The user's + CN will be renamed automatically. + The user's new CN will be made up by combining the given-name, initials + and surname. A dot ('.') will be appended to the initials automatically, + if required. + Use the --force-new-cn option to specify the new CN manually and --reset-cn + to reset this change. + Use an empty attribute value to remove the specified attribute. + The username specified on the command is the sAMAccountName. + + + + --surname=SURNAME + + New surname + + + + + --given-name=GIVEN_NAME + + New given name + + + + + --initials=INITIALS + + New initials + + + + + --force-new-cn=NEW_CN + + Specify a new CN (RDN) instead of using a combination + of the given name, initials and surname. + + + + + --reset-cn + + Set the CN to the default combination of given name, + initials and surname. + + + + + --display-name=DISPLAY_NAME + + New display name + + + + + --mail-address=MAIL_ADDRESS + + New email address + + + + + --samaccountname=SAMACCOUNTNAME + + New account name (sAMAccountName/logon name) + + + + + --upn=UPN + + New user principal name + + + + + user setexpiry <replaceable>username</replaceable> [options] Set the expiration of a user account.