Introduzione
In questo documento viene descritto come trovare il mapping utente per verificare se un ID utente corrisponde all'utente AD corretto.
Premesse
Quando il processo ADSync viene eseguito sul connettore, esporta tutti i dati di Active Directory richiesti in file su disco che in genere sono leggibili da un utente (testo).
Trova l'utente corrente nel computer
- Sul computer dell'utente, aprire un prompt dei comandi ed eseguire:
- Per Windows:
nslookup -type=txt debug.opendns.com.
- Per Linux/Mac:
dig txt debug.opendns.com.
- L'output è simile al seguente:
nslookup -type=txt debug.opendns.com.
Server: 192.168.1.10
Address: 192.168.1.10#53
Non-authoritative answer:
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"
Individuare l'utente corrispondente sul connettore
- Il campo user id (ID utente) contiene le informazioni che stiamo cercando. Prendete nota di tale ID, in questo caso: 4907f8d4a18f122bf8f8b2709dae99ab
- Accedere quindi al server su cui è in esecuzione il componente connettore
- Passare a C:\Program Files\OpenDNS\OpenDNS Connector\ADSync
- Aprire il file UserStruct.ldif
- Cercare la stringa derivata dal comando nslookup: 4907f8d4a18f122bf8f8b2709dae99ab
- Trovare il file Hash associato all'utente, in questo caso John Doe l'output sarà simile al seguente:
dn: CN=John Doe,OU=Users,OU=Corp,DC=Example,DC=com
changetype: add
memberOf: CN=Test-Group,OU=Groups,OU=Users,OU=Corp,DC=Example,DC=com
memberOf: CN=Staff,OU=Groups,OU=Users,OU=Corp,DC=Example,DC=com
Hash: 4907f8d4a18f122bf8f8b2709dae99ab