This article was previously published under Q315098
You can use the online dbdump feature in Ldp.exe to view the values that are stored in the database while a domain controller is running. You trigger the online dbdump feature by modifying the dumpDatabase attribute on the rootDSA.
The values that you specify for this attribute are the attributes other than the default attributes that you want to dump. Note that the values that you specify are the name for this attribute. The dumpDatabase feature first checks that you have enough rights for dumping the database. It then dumps the database into the Ntds.dmp file. The Ntds.dmp file is located in the same folder as the database file (.dit). The default attributes are:
Usage Example: Investigate an SPN Issue with Conflicting CNF or Deleted DEL Attributes
Create the Ntds.dmp file:
Start Ldp.exe on the domain controller that is logging the NTDS event 1645.
Connect locally, and then bind as an Enterprise administrator.
Click Modify on the Browse menu.
Edit for Attribute: dumpdatabase.
Edit for Values: name ncname objectclass objectguid instancetype. You must leave one space between the attributes.
Click Enter. The Entry List box contains the following entry:
[Add]dumpdatabase: name ncname objectclass objectguid instancetype
Click the Extended and Run options.
The %systemroot%\NTDS\Ntds.dmp file is created, or you receive an error message in Ldp.exe that you must investigate.
The Ntds.dmp file is a text file. Look for the conflicting or deleted GUID that was reported in event 1645 to see the internal reference mismatch.
Sample Dump File
The following sample shows that the CROSSREF object for domain PDT is pointing to a wrong object that has already been deleted:
Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows Server 2003 Service Pack 1, Microsoft Windows Server 2003 Service Pack 2, Windows Server 2008 Standard, Windows Server 2008 Enterprise, Windows Server 2008 R2 Standard, Windows Server 2008 R2 Enterprise