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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

When the <strong>LDAP</strong> server has been set up, run the inityp2l script <strong>and</strong> supplyconfiguration information when prompted. inityp2l sets up the configuration <strong>and</strong>mapping files for st<strong>and</strong>ard <strong>and</strong> auto.* maps.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. Convert the <strong>NIS</strong> master server into an 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.See the inityp2l(1M) man page for more details.4. Determine if the <strong>LDAP</strong> <strong>Directory</strong> Information Tree (DIT) is fully initialized.The DIT is fully initialized if it already contains the information necessary topopulate all the maps that are listed in the <strong>NIS</strong><strong>LDAP</strong>mapping file.■ If no, continue with Step 5 <strong>and</strong> skip Step 6.■ If yes, skip Step 5 <strong>and</strong> go to Step 6.5. Initialize the DIT for the transition from the <strong>NIS</strong> source files.Perform these steps only if the DIT has not been fully initialized.a. Make sure that the old <strong>NIS</strong> maps are up-to-date.# cd /var/yp# makeFor more information, see the ypmake(1M) man page.b. Stop the <strong>NIS</strong> daemons.# svcadm disable network/nis/server:defaultc. Copy the old maps to the DIT, then initialize N2L support for the maps.# ypserv -IrWait for ypserv to exit.Tip – The original <strong>NIS</strong> dbm files are not overwritten. You can recover these files,if needed.236 System Administration Guide: <strong>Naming</strong> <strong>and</strong> <strong>Directory</strong> <strong>Services</strong> (<strong>DNS</strong>, <strong>NIS</strong>, <strong>and</strong> <strong>LDAP</strong>) • January 2005

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

Saved successfully!

Ooh no, something went wrong!