Show Table of Contents
21.2. Identity Management で NIS を有効にする
Identity Management で NIS を有効にするには、以下の手順に従います。
- NIS リスナーと互換性プラグインを有効にします。
[root@ipaserver ~]# ipa-nis-manage enable [root@ipaserver ~]# ipa-compat-manage enable
- オプションで、NIS リモートプロシージャーコール (RPC) 用に固定ポートを設定します。NIS の使用時には、クライアントは IdM サーバー上のどのポートを使って接続を確立するかを知る必要があります。IdM はデフォルト設定を使用して、サーバーの起動時に未使用のランダムポートにバインドします。このポートは、クライアントがポート番号のリクエストに使用するポートマッパーサービスに送信されます。ファイアウォール設定を厳密にする場合には、固定ポートを設定出来ます。たとえば、ポートを
514に設定するには、以下を実行します。[root@ipaserver ~]# ldapmodify -x -D 'cn=directory manager' -W dn: cn=NIS Server,cn=plugins,cn=config changetype: modify add: nsslapd-pluginarg0 nsslapd-pluginarg0: 514
注記
この設定には、1024 より下のポート番号で未使用のものを使用できます。 - ポートマッパーサービスを有効にして、起動します。
[root@ipaserver ~]# systemctl enable rpcbind.service [root@ipaserver ~]# systemctl start rpcbind.service
- Directory Server を再起動します。
[root@ipaserver ~]# systemctl restart dirsrv.target

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.