XADM: Alternative Methods to Obtain a Dump of an Object

This article was previously published under Q271201
This article has been archived. It is offered "as is" and will no longer be updated.
In Microsoft Exchange Server version 5.5, you can perform a raw dump to create an Admindmp.txt file to view the attributes and values of an object. In Exchange 2000 Server, you can obtain this information from the Active Directory. This article describes two alternative methods to obtain a raw dump of a container or object, in addition to the method that is described in the following Microsoft Knowledge Base article:
255253 XADM: How to Perform a Dump of a Container or Object in Exchange 2000

First Method

Use the Ldp.exe program to obtain the Lightweight Directory Access Protocol (LDAP) dump of a recipient object or container:
  1. Start the Ldp.exe utility.
  2. On the Connection menu, click Connect. In the Server Name box, type the name for the global catalog server that is used for lookup. In the Port Number box, type 3268. If you use the Ldp.exe utility, always make sure that you use port number 3268 to connect to the global catalog server. This is the port that the message categorizer uses to query global catalogs for name resolution. Leave the Connectionless check box clear. In the rightmost column, several lines of text are displayed. The last few lines are similar to the following:
    1> serverName:CN=PT-LC-DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ptbugbash,DC=extest,DC=microsoft,DC=com;             1> supportedCapabilities: 1.2.840.113556.1.4.800;             1> isSynchronized: TRUE;             1> isGlobalCatalogReady: TRUE;						
  3. On the Connection menu, click Bind. Type the user name (with administrative rights), password, and domain name of the global catalog server, and then click OK. In the rightmost column, a confirmation similar to the following is displayed:
    res = ldap_bind_s(ld, NULL, &NtAuthIdentity, 1158); // v.3
    {NtAuthIdentity: User='administrator'; Pwd= <unavailable>; domain = 'ptbugbash'.}
    Authenticated as dn:'administrator'.
  4. On the View menu, click Tree. In the Tree View dialog box, leave the Base DN box blank, and then click OK. The root of the tree is displayed in the leftmost column.
  5. Expand the root container and the subcontainers until you locate the container or object for which the dump is required.
  6. On the Connection menu, click New. This makes the rightmost column blank.
  7. Double-click the object. The rightmost column is now populated with information. Everything on the right side is the LDAP dump or raw dump of the object that is selected on the left side.
  8. Cut and paste the entire rightmost column into a Microsoft Word file and save the file. This is the raw dump, or LDAP dump, of the object.

    NOTE: Ldp.exe is included with the Microsoft Windows 2000 Server CD-ROM and is located in the Support folder.

Second Method

If the Ldp.exe program truncates the results and you cannot locate the object that you are looking for (for example, a recipient), obtain the base distinguished name information for the object from the non-delivery report (NDR) message itself. (This information is also necessary for the method to obtain the LDAP dump that is described in Knowledge Base article Q255253 that is mentioned in the "Symptoms" section of this article.) The following method can be used for NDR troubleshooting:
  1. Obtain a copy of the NDR message. Each NDR message contains the base distinguished name information of the object that the NDR message was generated for. An NDR message may look similar to the following:
    Your message did not reach some or all of the intended recipients.

    Subject: test
    Sent: 8/3/2000 5:24 PM

    The following recipient(s) could not be reached:

    CN=\Network Engineering,OU=US,OU=DL,DC=MS,DC=com on 8/3/2000 5:24 PM

    The e-mail address could not be found. Perhaps the recipient moved to a different e-mail organization, or there was a mistake in the address. Check the address and try again.
    <ServerName.tx.US.MS.com #5.1.0>
    In the preceding example, the base distinguished name information for this recipient is the following:
    CN=\Network Engineering,OU=US,OU=DL,DC=MS,DC=com
  2. Copy the base distinguished name information.
  3. To perform what is the equivalent of a raw dump of an Exchange 2000 object, type the following command at a command prompt
    ldifde -f drive:\name_of_dump_file.ldf -d "distinguished_name" -p base
    where drive is the drive where the dump file will be created, name_of_dump_file is the name of the dump file that will be created, and distinguished_name is the base distinguished name information that you copied from the NDR message.

    NOTE: Make sure that you use the quotation marks around the base distinguished name information.
This command creates an .ldf file in the location that you specified with the -f drive:\name_of_dump_file.ldf switch. You can open this file with a text editor.

For additional information about this process for Exchange Server 5.5, click the article number below to view the article in the Microsoft Knowledge Base:
199412 XGEN: Administrator Program Dump Files (Admindmp.txt)
"raw properties"

Article ID: 271201 - Last Review: 12/05/2015 21:21:42 - Revision: 1.4

Microsoft Exchange 2000 Server Standard Edition

  • kbnosurvey kbarchive kbinfo KB271201