diff --git a/docs-xml/manpages/samba-tool.8.xml b/docs-xml/manpages/samba-tool.8.xml
index e268519f7bb..f2a17adfdbf 100644
--- a/docs-xml/manpages/samba-tool.8.xml
+++ b/docs-xml/manpages/samba-tool.8.xml
@@ -403,6 +403,73 @@
+
+ contact rename contactname [options]
+ Rename a contact and related attributes.
+ This command allows to set the contact's name related attributes. The contact's
+ CN will be renamed automatically.
+ The contact'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 contact name specified on the command is the CN.
+
+
+
+ --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.
+
+
+
+
+
dbcheck
Check the local AD database for errors.