For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
# svcadm disable network/nis/server:default
# mv /var/yp/NISLDAPmapping backup-filename
This command backs up and moves the N2L mapping file.
# NOPUSH=1
# cd /var/yp # make
# rm /var/yp/domain-name/LDAP_*
# svcadm enable network/dns/client:default # svcadm enable network/nis/server:default