summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-11 10:30:05 +0200
committerGünther Deschner <gd@samba.org>2009-05-11 10:56:22 +0200
commitfe474861f87dc02081acf34d756329c66cc5c805 (patch)
tree3dcfd46da78a90f5cf043f8e2fc519fd4d2ca078 /docs-xml
parentb1a4649438e5f27722c8dae629037df2543871c7 (diff)
downloadsamba-fe474861f87dc02081acf34d756329c66cc5c805.tar.gz
samba-fe474861f87dc02081acf34d756329c66cc5c805.tar.bz2
samba-fe474861f87dc02081acf34d756329c66cc5c805.zip
s3-docs: document "net dom renamecomputer".
Guenther
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 debcea6380..68e4edb344 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>