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.

“client_info <strong>and</strong> timezone Tables (<strong>NIS</strong>+ to <strong>LDAP</strong>)” on page 280 <strong>and</strong><strong>NIS</strong>+<strong>LDAP</strong>mapping(4).Configuration is done by assigning values to pre-defined attributes. In addition to theconfiguration files, the configuration attributes can also be read from <strong>LDAP</strong> (see“Storing Configuration Information in <strong>LDAP</strong>” on page 288) or can be specified on therpc.nisd comm<strong>and</strong> line by way of the -x option. If the same attribute is specified inmore than one place, the priority order is (from higher to lower) as follows.1. rpc.nisd -x option2. Configuration file3. <strong>LDAP</strong><strong>NIS</strong>+ to <strong>LDAP</strong> Tools <strong>and</strong> the Service ManagementFacilityMost of the comm<strong>and</strong> line administrative tasks associated with the <strong>NIS</strong>+ to <strong>LDAP</strong>transition are managed by the Service Management Facility. For an overview of SMF,refer to “Managing <strong>Services</strong> (Overview)” in System Administration Guide: BasicAdministration. Also refer to the svcadm(1M) <strong>and</strong> svcs(1) man pages for more details.■Administrative actions on the <strong>NIS</strong>+ to <strong>LDAP</strong> transition service, such as enabling,disabling, or restarting, can be performed using the svcadm comm<strong>and</strong>.Tip – Temporarily disabling a service by using the -t option provides someprotection for the service configuration. If the service is disabled with the -toption, the original settings would be restored for the service after a reboot. If theservice is disabled without -t, the service will remain disabled after reboot.■■■The <strong>NIS</strong>+ Fault Managed Resource Identifier (FMRI) issvc:/network/rpc/nisplus:. The FMRI for the <strong>LDAP</strong> client serviceis svc:/network/ldap/client:.You can query the status of <strong>NIS</strong>+ by using the svcs comm<strong>and</strong>.■Example of svcs comm<strong>and</strong> <strong>and</strong> output.# svcs \*nisplus\*STATE STIME FMRIonline Sep_01 svc:/network/rpc/nisplus:defaultExample of svcs -l comm<strong>and</strong> <strong>and</strong> output. To get the output shown below, youmust use the instance name in the FMRI.# svcs -l network/rpc/nisplus:defaultfmrisvc:/network/rpc/nisplus:defaultenabled falsestate disabledChapter 16 • Transitioning From <strong>NIS</strong>+ to <strong>LDAP</strong> 253

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

Saved successfully!

Ooh no, something went wrong!