When the ADSync process takes place on the connector, it will export all the required active directory data to files on disk and they are usually human-readable (text).
To find the user mapping, please follow these steps:
Finding the current user on the computer
- On the user computer, open a command prompt and run:
- (Windows) nslookup -type=txt debug.opendns.com.
- (Linux/Mac) dig txt debug.opendns.com.
- You should see an output similar to:
nslookup -type=txt debug.opendns.com.
debug.opendns.com text = "server your-opendns-va"
debug.opendns.com text = "appliance id 007a2c2d"
debug.opendns.com text = "host id a9b331e8f177c757b151c900df98d861"
debug.opendns.com text = "user id 4907f8d4a18f122bf8f8b2709dae99ab"
Finding the corresponding user on the connector
- The user id field is the information we are looking for, take note of that id, in this case: 4907f8d4a18f122bf8f8b2709dae99ab
- Now, log into the server running the connector component
- Navigate to C:\Program Files\OpenDNS\OpenDNS Connector\ADSync
- Open the file UserStruct.ldif
- Search for the string taken from the nslookup command , 4907f8d4a18f122bf8f8b2709dae99ab
- You should be able to find the Hash file associated with the user, in this case John Doe and the output will look similar to:
dn: CN=John Doe,OU=Users,OU=Corp,DC=Example,DC=com