問題
次のコマンドを使用して、CentOS/RHEL 6.X サーバーを Windows ドメインに追加できません:
# net ads join -I [Domain_IP_Address] -U [Domain_User]
次のようなエラー メッセージが表示されました:
Failed to join domain: failed to lookup DC info for domain"
解決策
構成ファイルに適切なエントリがありませんでした。構成ファイル /etc/nsswitch.conf 「勝利」が欠けていた 」 エントリ。
1. 次のエントリが設定ファイル nsswitch.conf ファイルに存在することを確認してください:
hosts: files dns wins
2. また、以下のエントリが /etc/samba/smb.conf ファイルの [global] セクションにあることを確認してください:
idmap uid = 10000-20000 idmap gid = 10000-20000 template shell = /bin/false
3. 変更が完了したら、winbind と smbd サービスの再起動が必要です。これは以下のコマンドを使用して実行できます
# /etc/init.d/winbind restart # /etc/init.d/smbd restart
root 以外のユーザーとして Systemd を使用して MySQL を管理する
Linux で dm-multipathing およびマルチパス デバイス (パス グループ) のステータスを監視する方法