NIS ユーザーは、クライアントシステムで yppasswd を使用できません。

NIS ユーザーは、クライアントシステムで yppasswd を使用できません。

私はNISを介してユーザーを認証するシステムを管理していますが、yppasswdユーザーがNISを使用してパスワードを変更しようとすると問題が発生します。エラーが発生しました。

yppasswd: yppasswdd not running on NIS master host ("localhost").

Web上の他のアドバイスに従って、/etc/hostsクライアントのIPの代わりに127.0.0.1クライアントのホスト名を指すエントリを設定してみました。これはうまくいきません。

私の/etc/yp.conf言葉はypserver <my_server_IP>

strace出力は、サーバーが決定する前にネゴシエーションが発生したことを示していますyppasswd/etc/hosts/etc/nsswitch.conf127.0.0.1

私は何を見逃していますか?

クライアントはDebian 7.0(Wheezy)を実行しており、サーバーはDebian 6.0.1(Squeeze)を実行しています。

ノート

私はNISが完全に役に立たなくなり、非常に脆弱であることを知っています。 LDAPへの移行は私の議題ですが、その間に解決策が必要です。

追加の詳細

クライアントのファイル:

/etc/hosts

127.0.0.1 localhost
<IP in current DHCP lease> host_name.domain host_name
<server_ip> server_name server_name.domain

/etc/nsswitch.conf

passwd:         files nis compat
group:          files nis compat
shadow:         files nis compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

ベストアンサー1

おすすめ記事