When using the command line to redirect users, the redirection argument can only be used when the DNA file is applied. If you enter redirection arguments on the command line when you are creating a DNA file, you receive an invalid command line message. (Use only with the /A. Do not use with /D.)
To avoid conflicts, the user command line overrides any manual selection of users in the CA DMM user interface or DMM templates containing user selections.
Note: If you pass a user command line, and in addition select users in the user interface or load a template with user selections, the manual and template user selections will be ignored. The user command line arguments always take precedence. In this situation, a message is written to the Event log and the Debug log.
The last element in any source or destination user command line is considered the user name.
The following syntax migrates a user from one domain to another:
/user <domain name>\<user name>:<domain name>\<user name>
The following syntax migrates a user from a domain to an Active Directory:
/user <domain name>\user name>:<active directory>.<container>.<organizational unit>\<user name>
The following syntax migrates a user from one Active Directory to Another:
/user <active directory>.<container>.<organizational unit>\<user name>: <active directory>.<container>.<organizational unit>\<user name>
Example 1: Migrate a User From One Domain to Another
The following example migrates user Michael in Domain1 to user Michael in Domain5:
/user Domain1\Michael:Domain5\Michael
Example 2: Migrate a User From One Active Directory to Another and Change the User Name
The following command migrate user Jane in Domain1 to the Active Directory Admin.ca.com in the User container with the name Jane.Married:
/user Domain1\Jane:Admin.ca.com\Users\Jane.Married
Example 3: Migrate a User From One Active Directory Container to a New Active Directory Container and Change the User Name
The following command migrates user Jane.Maiden from the Active Directory PM.ca.com in the User container to the Active Directory PM.ca.com, in the Admin container with the user name Jane.Married:
/user PM.ca.com\Users\Jane.Maiden:PM.ca.com\Admin\Jane.Married
Example 4: Redirect Domain User to Local User
The following command redirects domain users to local users. You must use the machine name environment variable:
/user *\*:%DNA_MACHINE_NAME%\*
|
Copyright © 2013 CA.
All rights reserved.
|
|