From fe474861f87dc02081acf34d756329c66cc5c805 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 11 May 2009 10:30:05 +0200 Subject: [PATCH] s3-docs: document "net dom renamecomputer". Guenther --- docs-xml/manpages-3/net.8.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml index debcea63802..68e4edb344c 100644 --- a/docs-xml/manpages-3/net.8.xml +++ b/docs-xml/manpages-3/net.8.xml @@ -1652,6 +1652,7 @@ See the smb.conf 5 net dom join - Join a remote computer into a domain. net dom unjoin - Unjoin a remote computer from a domain. +net dom renamecomputer - Renames a remote computer joined to a domain. @@ -1719,6 +1720,38 @@ This example would connect to a computer named XP as the local administrator usi + +DOM RENAMECOMPUTER <replaceable>newname=NEWNAME</replaceable> <replaceable>account=ACCOUNT</replaceable> <replaceable>password=PASSWORD</replaceable> <replaceable>reboot</replaceable> + + +Renames a computer that is joined to a domain. This command supports the following additional parameters: + + + + +NEWNAME defines the new name of the machine in the domain. + +ACCOUNT 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. + +PASSWORD defines the password for the domain account defined with ACCOUNT. + +REBOOT is an optional parameter that can be set to reboot the remote machine after successful rename in the domain. + + + + +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. + + + Example: + net dom renamecomputer -S xp -U XP\\administrator%secret newname=XPNEW account=MYDOM\\administrator password=topsecret reboot. + + +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. + + + + -- 2.11.4.GIT