Use this procedure if you are transitioning the maps listed in Supported Standard Mappings. If you are using custom or nonstandard maps, see How to Set Up the N2L Service With Custom or Nonstandard Mappings.
When the LDAP server has been set up, run the inityp2l script and supply configuration information when prompted. inityp2l sets up the configuration and mapping files for standard and auto.* maps.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
# inityp2l
Run the inityp2l script on the NIS master server and follow the prompts. See Setting Up the NIS-to-LDAP Service for a list of the information you need to provide.
See the inityp2l(1M) man page for more details.
The DIT is fully initialized if it already contains the information necessary to populate all the maps that are listed in the NISLDAPmapping file.
If the DIT is fully initialized, skip Step 5 and go to Step 6.
Perform these steps only if the DIT has not been fully initialized.
# cd /var/yp # make
For more information, see the ypmake(1M) man page.
# svcadm disable network/nis/server:default
# ypserv -IR
Wait for ypserv to exit.
# svcadm enable network/dns/client:default # svcadm enable network/nis/server:default
The N2L service is now set up with standard maps. You do not need to complete Step 6.
Perform these steps only if the DIT is fully initialized and you skipped Step 5.
# svcadm disable network/nis/server:default
# ypserv -r
Wait for ypserv to exit.
# svcadm enable network/dns/client:default # svcadm enable network/nis/server:default