An older version (2014-04-06) of libesedb is used as newer versions are slow to extract large NTDS.dit files.
- Clone this repo
- Copy 'NTDS.dit', 'SYSTEM' and 'SAM' into the NTDS directory
- Make 'setup.sh' executable and run it
- Execute 'extract.sh'
All credit for the tools go to the creator of libesedb (https://github.com/libyal/libesedb), scripts and automation created by Rob Emmerson.