Questo contenuto non è disponibile nella lingua selezionata.
21.2. Enabling NIS in Identity Management
To enable NIS in Identity Management:
- Enable the NIS listener and compatibility plug-ins:
ipa-nis-manage enable ipa-compat-manage enable
[root@ipaserver ~]# ipa-nis-manage enable [root@ipaserver ~]# ipa-compat-manage enableCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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:ldapmodify -x -D 'cn=directory manager' -W
[root@ipaserver ~]# ldapmodify -x -D 'cn=directory manager' -W dn: cn=NIS Server,cn=plugins,cn=config changetype: modify add: nsslapd-pluginarg0 nsslapd-pluginarg0: 514Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteYou can set any unused port number below 1024 for the setting. - Enable and start the port mapper service:
systemctl enable rpcbind.service systemctl start rpcbind.service
[root@ipaserver ~]# systemctl enable rpcbind.service [root@ipaserver ~]# systemctl start rpcbind.serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart Directory Server:
systemctl restart dirsrv.target
[root@ipaserver ~]# systemctl restart dirsrv.targetCopy to Clipboard Copied! Toggle word wrap Toggle overflow