13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

d. Start the <strong>NIS</strong> daemons to ensure that they use the new maps.# svcadm enable network/nis/server:defaultThis completes the set up of the N2L service with st<strong>and</strong>ard maps. You do notneed to complete Step 6.6. Initialize the <strong>NIS</strong> maps.Perform these steps only if the DIT is fully initialized <strong>and</strong> you skipped Step 5.a. Stop the <strong>NIS</strong> daemons.# svcadm disable network/nis/server:defaultb. Initialize the <strong>NIS</strong> maps from information in the DIT.# ypserv -rWait for ypserv to exit.Tip – The original <strong>NIS</strong> dbm files are not overwritten. You can recover these files,if needed.c. Start the <strong>NIS</strong> daemons to ensure that they use the new maps.# svcadm enable network/nis/server:default▼How to Set Up the N2L Service With Custom orNonst<strong>and</strong>ard MappingsUse this procedure if the following circumstances apply:■ You have maps that are not listed in “Supported St<strong>and</strong>ard Mappings” on page 232.■ You have st<strong>and</strong>ard <strong>NIS</strong> maps that you want to map to non-RFC 2307 <strong>LDAP</strong>mappings.1. Complete the prerequisite steps that are listed in “Prerequisites for the<strong>NIS</strong>-to-<strong>LDAP</strong> Transition” on page 234.2. On the <strong>NIS</strong> master server, become superuser or assume an equivalent role.Roles contain authorizations <strong>and</strong> privileged comm<strong>and</strong>s. For more informationabout roles, see “Using Role-Based Access Control (Tasks)” in System AdministrationGuide: Security <strong>Services</strong>.3. Configure the <strong>NIS</strong> master server into the N2L server.# inityp2lRun the inityp2l script on the <strong>NIS</strong> master server <strong>and</strong> follow the prompts. See“Setting Up the <strong>NIS</strong>-to-<strong>LDAP</strong> Service” on page 234 for a list of the information youneed to provide.Chapter 15 • Transitioning From <strong>NIS</strong> to <strong>LDAP</strong> (Overview/Tasks) 237

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!