■環境
認証サービス:sssd(System Security Services Daemon)
linuxでActive Directory等のディレクトリサービスに参加するための設定時に出るかもしれない主なエラーです。
# net ads join -U administrator
Enter administrator’s password:
Using short domain name — isoppe
Joined ‘HOGE’ to dns domain ‘isoppe.jp’
⇒正常に完了
# net ads join -U administrator
Our netbios name can be at most 15 chars long, “HOGE” is 19 chars long
Invalid configuration. Exiting….
Failed to join domain: The format of the specified computer name is invalid.
⇒ホスト名が長すぎ(この場合は19文字)て失敗してます。ホスト名は16文字以内にする必要があります
# net ads join -U administrator
Enter administrator’s password:
Using short domain name — isoppe
Joined ‘HOGEEE’ to dns domain ‘isoppe.jp’
No DNS domain configured for localhost. Unable to perform DNS Update.
DNS update failed: NT_STATUS_INVALID_PARAMETER
⇒ドメイン参加したがDNSの更新に失敗してます。
hostsの設定もしくはsambaの設定を間違えてますので見直しましょう
# net ads join -U administrator
Enter administrator’s password:
Using short domain name — isoppe
Joined ‘HOGE’ to dns domain ‘isoppe.jp’
kerberos_kinit_password HOGE$@isoppe.jp failed: Preauthentication failed
DNS update failed: kinit failed: Preauthentication failed
⇒ドメイン参加に使用するadministratorユーザのパスワードが間違えてるのでドメイン参加に失敗してます