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.

See the inityp2l(1M) man page for more details.4. Modify the /var/yp/<strong>NIS</strong><strong>LDAP</strong>mapping file.See “Examples of Custom Maps” on page 239 for examples of how to modify themapping file.5. 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, complete Step 6, Step 8, <strong>and</strong> Step 9.■ If yes, skip Step 6 <strong>and</strong> complete Step 7, Step 8, <strong>and</strong> Step 9.6. Initialize the DIT for the transition from the <strong>NIS</strong> source files.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.d. Start the <strong>NIS</strong> daemons to ensure that they use the new maps.# svcadm enable network/nis/server:defaulte. Skip Step 7 <strong>and</strong> continue with Step 8.7. Initialize the <strong>NIS</strong> maps.Perform this step only if the DIT is fully initialized.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.238 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!