소개
이 문서에서는 사용자 ID가 올바른 AD 사용자와 일치하는지 확인하기 위해 사용자 매핑을 찾는 방법에 대해 설명합니다.
배경 정보
ADSync 프로세스가 커넥터에서 발생할 때 필요한 모든 Active Directory 데이터를 디스크의 파일로 내보내며 일반적으로 사람이 읽을 수 있는(텍스트) 파일입니다.
컴퓨터에서 현재 사용자 찾기
- 사용자 컴퓨터에서 명령 프롬프트를 열고 다음을 실행합니다.
- Windows의 경우:
nslookup -type=txt debug.opendns.com.
- Linux/Mac의 경우:
dig txt debug.opendns.com.
- 출력은 다음과 유사합니다.
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"
커넥터에서 해당 사용자 찾기
- 사용자 ID 필드는 찾고 있는 정보이며, 이 경우 해당 ID를 기록해 둡니다. 4907f8d4a18f122bf8f8b2709dae99ab
- 이제 커넥터 구성 요소를 실행하는 서버에 로그인합니다
- C:\Program Files\OpenDNS\OpenDNS Connector\ADSync로 이동합니다.
- UserStruct.ldif 파일 열기
- nslookup 명령에서 가져온 문자열을 검색합니다. 4907f8d4a18f122bf8f8b2709dae99ab
- 사용자와 연결된 해시 파일을 찾습니다. 이 경우 John Doe가 출력하며 다음과 비슷합니다.
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