Previous Topic: uxconsole -manage—Manage Users and GroupsNext Topic: uxconsole -register—Register UNIX Computers in Active Directory


uxconsole -migrate—Migrate UNIX Users and Groups to Active Directory

Valid on UNIX

Using the migrate command migrates users and groups from the UNIX host into Active Directory. The migration process attempts to migrate local users and groups into Active Directory and disable the local accounts.

This command has the following format:

uxconsole -migrate [-scope {l|n|a}] {-mode {p|f}|-input file} [-emulate] [-d domain] [-a name [-w pass]] [-users] [-groups] [-cgc container] [-new] [-v level] [-h]
uxconsole -migrate [-show {-user filter|-group filter}] 
-migrate

Defines the UNIX users migration option.

-scope {l | n | a}

Specifies the migration scope:

Default: l

-mode {p | f}

Specifies the migration mode.

Options: partial, full

Default: f

-input file

Defines the full path of the accounts map file.

Note: Use the mapping file to resolve conflicts in user accounts that were discovered during the migration process. Create the map file in a CSV format with the following fields and parameters:

type <USER|GROUP>, UNIX name <username>,requested action <KEEPLOCAL|MIGRATE|MAP>, AD name <AD mapped name>

Example: USER,uxuser, MAP,aduser.

Important! You cannot specify the GROUP type to use the MAP action.You can use the MAP option to map user accounts only.

-emulate

Specifies that the migration process runs in emulation mode.

Note: Running the uxconsole -migrate command in emulation mode does not migrate users to Active Directory. In emulation mode the uxconsole creates a journal file that reports on possible conflicts in users and groups IDs. Use the emulation mode to resolve conflicts between UNIX and Active Directory users and groups IDs.

-d domain

Defines the name of the domain to migrate users and groups to.

Note: Running the -migrate -d command without supplying the administrator credentials does not enable UNAB to migrate users and groups to Active Directory.

-a name

Specifies the Active Directory administrator used to register, create, and update users properties in Active Directory.

Note: Running the -migrate command without supplying the administrator credentials does not enable UNAB to append UNIX attributes nor to add accounts or groups to Active Directory. You cannot resolve conflicts that were discovered during migration without supplying the Active Directory administrator credentials.

-w passwd

Specifies the Active Directory administrator's account password.

-users

(Optional) Specifies that only users are migrated to Active Directory.

Note: If not specified, all the users are migrated to Active Directory.

-groups

(Optional) Specifies that only groups are migrated to Active Directory.

Note: If not specified, all the groups are migrated to Active Directory.

-cgc container

Specifies the name of the Active Directory container where new groups are created.

-new

Specifies to migrate only new users and groups that were not not previously migrated.

-v level

Specifies the verbose level.

Range: 1-5

-h

Displays the help.

-show

Displays users and groups migration information.

Note: If specified, users and groups are not migrated.

-user filter

Displays only those users that match the filter criteria.

-group filter

Displays only those groups that match the filter criteria.