summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-11 10:30:05 +0200
committerKarolin Seeger <kseeger@samba.org>2009-05-26 09:39:07 +0200
commit3bfd3c0fd72f47fe4e1c6dc0409920217baf11d8 (patch)
tree29f159928d4f6c8f60a6906b77ed6d2960debee7 /docs-xml
parentb15d80821a22c6856c03d45b0e48cc1dde87fe46 (diff)
downloadsamba-3bfd3c0fd72f47fe4e1c6dc0409920217baf11d8.tar.gz
s3-docs: document "net dom renamecomputer".
Guenther (cherry picked from commit fe474861f87dc02081acf34d756329c66cc5c805) (cherry picked from commit 92117cd56692303b2018299cd43f229b0db59066)
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/manpages-3/net.8.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml
index 2504727cec6..b6e70422857 100644
--- a/docs-xml/manpages-3/net.8.xml
+++ b/docs-xml/manpages-3/net.8.xml
@@ -1652,6 +1652,7 @@ See the <citerefentry><refentrytitle>smb.conf</refentrytitle> <manvolnum>5</manv
<simplelist>
<member>net dom join - Join a remote computer into a domain.</member>
<member>net dom unjoin - Unjoin a remote computer from a domain.</member>
+<member>net dom renamecomputer - Renames a remote computer joined to a domain.</member>
</simplelist>
</para>
@@ -1719,6 +1720,38 @@ This example would connect to a computer named XP as the local administrator usi
</refsect3>
+<refsect3>
+<title>DOM RENAMECOMPUTER <replaceable>newname=NEWNAME</replaceable> <replaceable>account=ACCOUNT</replaceable> <replaceable>password=PASSWORD</replaceable> <replaceable>reboot</replaceable></title>
+
+<para>
+Renames a computer that is joined to a domain. This command supports the following additional parameters:
+</para>
+
+<itemizedlist>
+
+<listitem><para><replaceable>NEWNAME</replaceable> defines the new name of the machine in the domain.</para></listitem>
+
+<listitem><para><replaceable>ACCOUNT</replaceable> defines a domain account that will be used to rename the machine in the domain. This domain account needs to have sufficient privileges to rename machines.</para></listitem>
+
+<listitem><para><replaceable>PASSWORD</replaceable> defines the password for the domain account defined with <replaceable>ACCOUNT</replaceable>.</para></listitem>
+
+<listitem><para><replaceable>REBOOT</replaceable> is an optional parameter that can be set to reboot the remote machine after successful rename in the domain.</para></listitem>
+
+</itemizedlist>
+
+<para>
+Note that you also need to use standard net paramters to connect and authenticate to the remote machine that you want to rename in the domain. These additional parameters include: -S computer and -U user.
+</para>
+<para>
+ Example:
+ net dom renamecomputer -S xp -U XP\\administrator%secret newname=XPNEW account=MYDOM\\administrator password=topsecret reboot.
+</para>
+<para>
+This example would connect to a computer named XP as the local administrator using password secret, and rename the joined computer to XPNEW using the MYDOM domain administrator account and password topsecret. After successful rename, the computer would reboot.
+</para>
+
+</refsect3>
+
</refsect2>
<refsect2>