Example: Importing Directory Data
The following is an sample data file for an import session with no user template selected:
Obj-Class,Common-Name,Given-Name,Surname,Home-Server,Display-Name
mailbox,SteveMas,Steve,Masters,FALCON,Steve Masters
mailbox,JerryWh,Jerry,Wheeler,BOB,,
mailbox,KevinY,,,BOB,
In the above example, three mailboxes are created:
-
As specified on the second line, a mailbox for SteveMas is created on the server Falcon. The Given-Name, Surname, and Display-Name information was provided and these attributes are imported.
-
As specified on the third line, a mailbox for JerryWh is created on the server called BOB. The Given Name and Surname are set. The Display Name is created from the Given Name and Surname as Jerry Wheeler because it was not provided.
-
As specified on the fourth line, a mailbox for KevinY is created on the server called BOB. The Surname is set to KevinY because it was not provided. This would also cause the Display-Name to be set to KevinY.
The following is an example data file for an importing session where a user template was selected. This user has a Home-Server of FALCON. (In this example, the user template was designated not in the import file, but through the user interface of the Administrator program.)
Obj-Class,Common-Name,Given-Name,Surname,Display-Name,Member
mailbox,SteveMas,Steve,Masters,,MailPM%MAPITest
mailbox,SharonSw,Sharon,Swanson,Sharon Swanson,Testers
In the preceding example, two mailboxes are created on the FALCON server, a fact derived from the Home-Server attribute of the user template.
-
As specified on the second line, a mailbox for SteveMas is created with a Given Name of Steve and a Surname of Masters. The Display-Name of Steve Masters is constructed; the distinguished name (DN)for SteveMas is added to the membership list for the distribution lists (DL) called MailPM and MAPITest.
-
On the second line, the names of these DLs for SteveMas are separated by a percent sign (%). You can select a different separator by choosing the Directory Import option from Tools menu in the Administrator program. Click Separators to open the Separators dialog box.
-
As specified on the third line, a user SharonSw is created with a Given Name of Sharon and a Surname of Swanson. The Display Name was specified as Sharon Swanson; the DN for SharonSw is added to the DL called Testers.
If the option had been set in the Administrator program user interface to create the Windows NT Server security account, a Windows NT Server account is created in the Windows NT Server security domain for each of these users. The Windows NT user name is the same as the Common-Name.