Go to main content

Working With Oracle® Solaris 11.3 Directory and Naming Services: LDAP

Exit Print View

Updated: September 2018
 
 

How to Revert to Maps Based on NIS Source Files

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Stop the NIS daemons.
    # svcadm disable network/nis/server:default
  3. Disable N2L.
    # mv /var/yp/NISLDAPmapping backup-filename

    This command backs up and moves the N2L mapping file.

  4. Set the NOPUSH environment variable so the new maps are not pushed by ypmake.
    # NOPUSH=1
  5. Make a new set of NIS maps that are based on the NIS sources.
    # cd /var/yp
    # make
  6. (Optional) Remove the N2L versions of the NIS maps.
    # rm /var/yp/domain-name/LDAP_*
  7. Start the DNS and the NIS service.
    # svcadm enable network/dns/client:default
    # svcadm enable network/nis/server:default