Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Chapter 9, Using Role-Based Access Control (Tasks), in System Administration Guide: Security Services.
Stop the NIS daemons.
# svcadm disable network/nis/server:default |
Disable N2L.
This command backs up and moves the N2L mapping file.
# mv /var/yp/NISLDAPmapping backup_filename |
Set the NOPUSH environment variable so the new maps are not pushed by ypmake.
# NOPUSH=1 |
Make a new set of NIS maps that are based on the old sources.
# cd /var/yp # make |
(Optional) Remove N2L versions of the NIS maps.
# rm /var/yp/domainname/LDAP_* |
Start the NIS daemons.
# svcadm enable network/nis/server:default |