Back up the old NIS source files before performing this procedure.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
# svcadm disable network/nis/server:default
# ypserv -r
Wait for ypserv to exit.
This command backs up and moves the N2L mapping file.
# mv /var/yp/NISLDAPmapping backup-filename
# ypmap2src
# rm /var/yp/domain-name/LDAP_*
# svcadm enable network/dns/client:default # svcadm enable network/nis/server:default