Semantic Database Analysis
The commands in this menu test the directory database with respect to Active Directory (not ESENT database!) semantics. The report generated (a file named dsdit.dmp.nnn) displays the number of active objects, including phantom and deleted records. The log file is placed in the current folder.
Notwithstanding the fact that Microsoft does not recommend that end users run semantic analysis commands themselves, it may be useful to check the database's integrity in some situations, and fix possible errors. (Be careful with the Go Fixup command — your data face a risk here!) For example, the following two consecutive commands have detected and fixed an error with deleted reference objects:
ntdsutil: Semantic database analysis semantic checker: Go Fixup mode is turned off Opening database [Current] .....Done.
Getting record count...3112 records
Getting security descriptor count...105 security descriptors
Writing summary into log file dsdit.dmp.0 SDs scanned: 105 Records scanned: 3112 Processing records..
Error: Missing subrefs detected. [Errors are detected!] Done.
semantic checker: Verbose on Verbose mode enabled. semantic checker: Go Fixup Fixup mode is turned on
Opening DIT database...Done.
Done.
Opening database [Current].....Done.
Getting record count...3112 records
Getting security descriptor count...105 security descriptors
Writing summary into log file dsdit.dmp.1 SDs scanned: 105 Records scanned: 3112 Processing records.. Error: Missing subrefs detected.
Error: Inconsistent refcounts detected. Done.
semantic checker: Go
Fixup mode is turned off
Processing records..Done. [No errors now.]
semantic checker:
Post a comment