22.6. 잘못된 인증 정보 오류 해결
시스템 클럭을 동기화하여 Kerberos 인증 오류로 인한 IdM(Identity Management) 복제본 설치 오류를 해결합니다.
Invalid credentials 오류로 인해 IdM 복제본 설치에 실패하면 호스트의 시스템 클럭이 서로 동기화되지 않을 수 있습니다.
[27/40]: setting up initial replication
Starting replication, please wait until this has completed.
Update in progress, 15 seconds elapsed
[ldap://server.example.com:389] reports: Update failed! Status: [49 - LDAP error: Invalid credentials]
[error] RuntimeError: Failed to start replication
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.
ipa.ipapython.install.cli.install_tool(CompatServerReplicaInstall): ERROR Failed to start replication
ipa.ipapython.install.cli.install_tool(CompatServerReplicaInstall): ERROR The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information
클럭이 동기화되지 않는 동안 --no-ntp 또는 -N 옵션을 사용하여 복제본 설치를 시도하면 서비스가 Kerberos로 인증할 수 없기 때문에 설치에 실패합니다.
이 문제를 해결하려면 두 호스트의 클럭을 동기화하고 설치 프로세스를 다시 시도합니다.
사전 요구 사항
-
시스템 시간을 변경하려면
root권한이 있어야 합니다.
프로세스
시스템 클럭을 수동으로 또는
chronyd와 동기화합니다.- 수동으로 동기화
서버에 시스템 시간을 표시하고 일치하도록 복제본의 시간을 설정합니다.
[user@server ~]$ date Thu May 28 21:03:57 EDT 2020 [user@replica ~]$ sudo timedatectl set-time '2020-05-28 21:04:00'chronyd와 동기화:chrony툴 을 사용하여 Chrony 를 사용하여 시스템 시간을 구성하고 설정하는 것을 참조하십시오.
- IdM 복제본 설치를 다시 시도합니다.