Microsoft KB Archive/271201

= XADM: Alternative Methods to Obtain a Dump of an Object =

Article ID: 271201

Article Last Modified on 2/26/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q271201



SUMMARY
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:  Start the Ldp.exe utility. 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;

 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= ; domain = 'ptbugbash'.}

Authenticated as dn:'administrator'.

 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. Expand the root container and the subcontainers until you locate the container or object for which the dump is required. On the Connection menu, click New. This makes the rightmost column blank.</li> 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.</li> 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.</li></ol>

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 &quot;Symptoms&quot; section of this article.) The following method can be used for NDR troubleshooting: <ol> 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

</li> Copy the base distinguished name information.</li> 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 :\ .ldf -d &quot; &quot; -p base

where  is the drive where the dump file will be created,   is the name of the dump file that will be created, and   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.</li></ol>

This command creates an .ldf file in the location that you specified with the -f :\ .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)

Additional query words: &quot;raw properties&quot;

Keywords: kbinfo KB271201

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.