Project LID Homepage: Distributable Modules
Updates
Update 8/28/2017: Upgrade: now shows how many objects are going to be processed.
Update 9/9/2016: Program released.
Description
is a Command Line program created to change an Active Directory export (LDF files produced by LDIFDE) attribute for OBJECTSID to a readable format.
Example: can change an OBJECTSID from "ABCBBBBAAABCABBAaBcDEabAabcdeABCDEFGHI==" to:
- SID: S-1-2-34-123123123-456456456-7897897897-1234
- Network ID: DOMAIN\jdoe (if a current account)
Example Commands
- Parse A List From A File
lccGUIDDecoder.exe lcc:ADObjectSIDListPath ourSIDsToAudit.txt lcc:reportPath lccGUIDDecoder-translations.txt
- Parse A List From A File, Only The First 100 Records
lccGUIDDecoder.exe lcc:ADObjectSIDListPath ourSIDsToAudit.txt lcc:reportPath lccGUIDDecoder-translations.txt lcc:maxRecords 1000
- Parse A Single GUID
lccGUIDDecoder.exe lcc:GUID "ABCBBBBAAABCABBAaBcDEabAabcdeABCDEFGHI==" lcc:reportPath lccGUIDDecoder-translations-single.txt
Installation
Documentation
- lccGUIDDecoder-manual.pdf
- Exporting Active Directory With Date Stamped File
Note: replace the following:
- 'dc.college.edu' with your domain controller
- 'dc=college, dc=edu' with your domain
- '[drive]:\folder' with the path you want to save the export to
@echo off
echo Getting date and time
SET DATETIME=%date%%time%
SET YYYY=%DATETIME:~10,4%
SET MT=%DATETIME:~4,2%
SET DD=%DATETIME:~7,2%
SET HH=%DATETIME:~14,2%
SET MM=%DATETIME:~17,2%
echo Outputting active directory to entiredomain-%YYYY%%MT%%DD%.ldf...
ldifde.exe "-f" "[drive]:\folder\entiredomain-%YYYY%%MT%%DD%.ldf" "-s" "dc.college.edu" "-d" "dc=college, dc=edu" "-p" "subtree"
echo Done
Disclaimer
The programs, scripts and documentation are provided AS IS without warranty of any kind. Lower Columbia College further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the programs, scripts and documentation remains with you. In no event shall Lower Columbia College, its authors, or anyone else involved in the creation, production, or delivery of the programs, scripts or documentation be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the programs, scripts or documentation, even if Lower Columbia College has been advised of the possibility of such damages.