Directory Mate 2003 Help

Exporting Object Attributes: Table of Contents

- Exporting Basics
- Exporting Date Attributes
- Multi-valued Fields
- Special Characters

 

Exporting Basics

 

Exporting object attributes is quick and easy with Directory Mate 2003.  When running the wizard, select Export and choose the object type.  Once you've selected the object type, select the attributes you'd like to export and file location to save the export file to.  Its as easy as that.

 

Exporting Date Attributes

 

The following time/date attributes may have the value "0" or "-1" in their field.  This means that there either is no valid value for that entry or that the attribute is not being used:

accountExpires, badPasswordTime, lastLogon, lastLogoff, lockoutTime, pwdLastSet

 

For example, if the export entry for "accountExpires" on a user is -1, it means that the users account never expires.

 

It is not possible at this time to import time/date attributes using Directory Mate.

 

Multi-valued Fields

 

Multiple values are exported by placing the character "%" between each value. 

 

For example, if you exported the group membership for the "Guest" user in the domain you would have the following value in the export file:

CN=Domain Guests,CN=Users,DC=MADS1,DC=com%CN=Guests,CN=Builtin,DC=MADS1,DC=com

The "%" character separates the values. 

 

Special Characters

 

Return characters are exported by placing the value "\r\n" in place of a return character. 

 

For example, if you were exporting the street address for a user that contained the following:

2302 Albert Street

Suite 21

 

The value would appear in the export file as: "2302 Albert Street\r\nSuite 21"