Directory Mate 2003 Help

Creating Objects: Table of Contents

- Creating New Users
- Setting a Password for a New User
- Setting "User must change password at next logon"

For more information on User Objects; User Exchange Attributes; Contact Objects; and Group Objects please refer to their individual help files.

Creating New Users

New users can be created with as much or as little information as you require.  The following is an example for creating a user named "Richard Smith" with a few basic properties.  You do not need to specify the "objectClass" column for new users.  Directory Mate will assume that the new objects being created are of the "User" class when this column is not specified.

 

The first line in our import csv file is the names of the columns we will be using:

mode,distinguishedName,displayName,company,givenName,sn,sAMAccountName,userPrincipalName

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

 

distinguishedName: This column specifies the directory name and location for our new object. In our example we want our new user to have the directory name "SmithR" and be created in the Users container.  For this we use the value "CN=SmithR,CN=Users,DC=MADSolutions,DC=com".

 

displayName, givenName and sn:  These columns are basic name attributes for our new user. We will use the values "Richard Smith", "Richard" and "Smith".  You do not have to specify these columns or any other information columns if they are not necessary.

 

sAMAccountName: This column specifies the name of the account for our new object. This value appears in the "(User logon name) Pre-Windows 2000" entry for the properties of a user..  In our example we will use the value "SmithR".

 

userPrincipalName: This column specified the user logon name value for our new object.  The format for this value is "<logon name>@<domain>".  In our example we will use the value "SmithR@MADSolutions.com".

 

Setting a Password For a New User

 

Passwords can be set for new users by specifying a special column called "password" in your import file.  The value for each entry should be the password you want to set for the new user.

 

Setting "User must change password at next logon"

 

When creating new users, this option will be presented to you during the Directory Mate wizard.  This option cannot be specified through any import columns when creating new users.  If you are creating new users and do not specify the "password" column, the option is turned on and cannot be turned off.

 

When modifying users, you can turn on the account option "User must change password at next logon" by specifying the column "pwdLastSet" and using the value "0" (zero).  You can not turn the account option off using Directory Mate at this time.