21.2. Enabling NIS in Identity Management
21.2. Enabling NIS in Identity Management To enable NIS in Identity Management: Enable the NIS listener and compatibility plug-ins: Optional : Set a fixed port for the NIS remote procedure calls (RPC). When using NIS, the client must know to which port on the IdM server to use to establish the connection. Using the default settings, IdM binds to an unused random port when the server starts. This port is sent to the port mapper service the client uses to request the port number. For a more strict firewall configuration, you can set a fixed port. For example, to set the port to 514 : Note You can set any unused port number below 1024 for the setting. Enable and start the port mapper service: Restart Directory Server:
ipa-nis-manage enable ipa-compat-manage enable ldapmodify -x -D 'cn=directory manager' -W dn: cn=NIS Server,cn=plugins,cn=config changetype: modify add: nsslapd-pluginarg0 nsslapd-pluginarg0: 514 systemctl enable rpcbind.service systemctl start rpcbind.service systemctl restart dirsrv.target