How To Determine LDAP Name For Exchange Server Objects (237682)



The information in this article applies to:

  • Microsoft Exchange Server 5.0
  • Microsoft Exchange Server 5.5

This article was previously published under Q237682

SUMMARY

When using ADSI and LDAP to query the Exchange Server directory you need to provide the name of the object attribute that you want to retrieve.

MORE INFORMATION

To determine what the LDAP name of the object attribute is, follow these steps:
  1. Run the Exchange admin program in raw mode. For example, if Admin.exe file exists under "C:\Exchsrvr\bin" directory, run the following command in the Command Prompt:
    C:\exchsrvr\bin\admin.exe -r
    						
  2. From the View menu, select the Raw folder.
  3. In the left-pane, double-click on the Schema object.
  4. In the right-pane, double-click on the Exchange server object that you are wanting to determine the LDAP name for. For example, double-click on Serial-Number.
  5. The attribute value of the Description is the name you should use with LDAP. For example, the description and LDAP name for Serial-Number is serialNumber.

Modification Type:MinorLast Reviewed:7/1/2004
Keywords:kbhowto kbMsg KB237682