성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Java - How to use the Foreign Funct...
[정성태] 제가 큰 실수를 했군요. ^^; Delegate를 통한 Bein...
[정성태] Working with Rust Libraries from C#...
[정성태] Detecting blocking calls using asyn...
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
[정성태] "props[i].GetValue(props[i])" 코드에서 ...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>The trust relationship between this workstation and the primary domain failed. - 세 번째 이야기</h1> <p> 이상하군요, AD에 가입한 VM 컴퓨터를 Checkpoint 후에 몇 가지 테스트를 한 다음 다시 이전 버전으로 돌아갔더니 해당 컴퓨터에 로그인이 안 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > The trust relationship between this workstation and the primary domain failed. </pre> <br /> 부가적으로 RDP로 로그인하려고 시도하면 "Network Level Authentication" 지원이 필요하다고 거부가 됩니다. 지난번에 이 오류를 경험했을 때는,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > The trust relationship between this workstation and the primary domain failed. - 두 번째 이야기 ; <a target='tab' href='https://www.sysnet.pe.kr/2/0/10826'>https://www.sysnet.pe.kr/2/0/10826</a> </pre> <br /> 이미 로그인된 상태였기 때문에 Reset-ComputerMachinePassword로 수정을 했지만 이번에는 로그인 자체가 안 되고 있기 때문에 저 명령이 통하지 않습니다.<br /> <br /> 그러니까, local administrator 계정으로 로그인 후, Reset-ComputerMachinePassword를 수행하면 다음과 같이 오류가 발생합니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > PS C:\Users\Administrator> <span style='color: blue; font-weight: bold'>Reset-ComputerMachinePassword</span> Reset-ComputerMachinePassword : Cannot reset the secure channel password for the computer account in the domain. Operation failed with the following exception: The user name or password is incorrect. . At line:1 char:1 + Reset-ComputerMachinePassword + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (win2019:String) [Reset-ComputerMachinePassword], InvalidOperationException + FullyQualifiedErrorId : FailToResetPasswordOnDomain,Microsoft.PowerShell.Commands.ResetComputerMachinePasswordCommand </pre> <br /> 그래도 다행히 검색해 보면 해결책이 나옵니다. ^^<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Repair Active Directory computer account secure channel ; <a target='tab' href='https://www.powershell.no/activedirectory/2017/02/08/ad-computer-repair-secure-channel.html'>https://www.powershell.no/activedirectory/2017/02/08/ad-computer-repair-secure-channel.html</a> </pre> <br /> 어쨌든, 해당 컴퓨터에 Local Administrator로 로그인하고, Test-ComputerSecureChannel 명령어를 -Repair 옵션으로 수행하면,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > PS C:\> <span style='color: blue; font-weight: bold'>Test-ComputerSecureChannel -Verbose</span> VERBOSE: Performing the operation "Test-ComputerSecureChannel" on target "testsvr". False VERBOSE: The secure channel between the local computer and the domain testad.com is broken. PS C:\> <span style='color: blue; font-weight: bold'>Test-ComputerSecureChannel -Repair -Credential (Get-Credential)</span> cmdlset Get-Credential at command pipeline position 1 Suppy values for the following parameters: Credential // 이 시점에 로그인 창 떠서 AD 계정 정보 입력 True </pre> <br /> 이후 (리부팅 없이) 정상적으로 AD 계정으로 로그인이 잘 되는 것을 확인할 수 있습니다.<br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
2802
(왼쪽의 숫자를 입력해야 합니다.)