Directory Mate 2003 Help

Moving Objects: Table of Contents

- Moving Users and Other Objects
- Special Notes

 

Moving Users and Other Objects

 

When moving objects, you must specify either or both of the "distinguishedName" or "objectGUID" columns to identify the object you want to move and a column named "container" that lists the distinguishedName of the new container for that object.  *No other columns should be specified.

 

The following is an example for moving a user named "Richard Smith" from the default Users container to a new Organizational Unit named "Department 1" under an "Accounting" Organizational Unit.

 

The first line of your import csv file is the names of the columns required for 'move' operations:

 

 

mode: This column specifies the type of import operation we will be performing.  Since we are moving a user will we use the value "Move".

 

distinguishedName: This column specifies the directory name and location of the object we want to move.  The object we want to move appears as "Richard Smith" in Active Directory in the Users container.  For this we use the value "CN=Richard Smith,CN=Users,DC=MADSolutions,DC=com".  (To obtain the user's distinguished name, simply do a directory export with Directory Mate, select the user's display name or canonical name for ease of identification.  Once you have the export file, find the user and its corresponding distinguished name.)

 

container: This column specifies the directory name and location of the destination container for the object.  For our example we use the value "OU=Department 1,OU=Accounting,DC=MADSolutions,DC=com" (To obtain the OU's distinguished name, simply do a directory export with Directory Mate, select the OU canonical name for ease of identification.  Once you have the export file, find the OU and its corresponding distinguished name.)

 

Special Notes

 

Directory Mate can not move OU structures.  To move an OU, create a new OU in the desired location and then move all objects from the Old OU to the new OU.  Once the old OU is empty you can safely delete it.  (Note:  Be sure to allow directory replication to occur first to verify the OU is in fact empty and no new objects have been created by someone else.)