NNS ADix - How to...Create Contact Objects
   

This topic describes how to create contact objects with NNS ADix.

The following table contains a list attributes which are mandatory when creating contact objects:

Attribute Type Description
path single-valued The object path of the computer object to create.
Example: LDAP://cn=j.doe,ou=contacts,dc=dom,dc=com
class single-valued Provides the object class. Must be set to 'contact'.
cn single-valued The name of the contact object.
Example: j.doe

In addition to the mandatory attributes you can set various optional attributes. The following table
contains a list of some attributes you can set:

Attribute Type Description
sn single-valued The last name of the contact.
givenName single-valued The first name of the contact.
displayName single-valued The display name of the contact object. E.g. the display name is used in Microsoft Exchange address books.
memberOf multi-valued The groups, that the contact is a member of. The import file can contain the distinguished names or the pre-Windows 2000 logon names of the groups.
The Directory Services always stores these values as distinguished names.
...    

In order to create an e-mail enabled contact, the following attributes must be set:

Attribute Type Description
mailNickname single-valued This is the alias to the contact.
proxyAddresses multi-valued A multi-valued attribute that contains the e-mail addresses of the contact. The format of this attribute is "<PREFIX>:proxy", where <PREFIX> is either SMTP, X400, GWISE, or NOTES.
Example: SMTP:j.doe@otherdom.com
targetAddress single-valued This attribute is the e-mail address to which you want to redirect the mail. This attribute is formatted like the proxyAddresses- attribute.
Example: SMTP:j.doe@otherdom.com
...    

Note:
    Exchange 2007 Mail Contacts:
    In Exchange 2000/Exchange 2003 recipients are partially provisioned after their creation. The
    Recipient Update Service (RUS) is responsible for setting the remaining attributes.
    In Exchange 2007 there is no RUS which is setting the remaining Exchange attributes automatically.
   
    If you want to bulk import mail-enabled Exchange 2007 contact objects using NNS ADix,
    perform the following steps:
    1) Import the contact objects using NNS ADix
    2) Execute the following Exchange Management Shell command: get-mailcontact | set-mailcontact

Example:

The following example creates an e-mail enabled contact named 'j.doe':

path;class;cn;sn;giveName;displayName;mailNickname;proxyAddresses;targetAddress
LDAP://cn=j.doe,ou=contacts,dc=dom,dc=com;contact;j.doe;DOE;John;DOE John;jDOE;SMTP:j.doe@otherdom.com;SMTP:j.doe@otherdom.com

 

Copyright © 2008 by NNS - Nigl Network Solutions