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.

NAME ’nisplusClientInfoData’ \DESC ’<strong>NIS</strong>+ client_info table data’ \SUP top STRUCTURAL MUST ( cn ) \MAY ( nisplusClientInfoAttr $ nisplusClientInfoInfo $ nisplusClientInfoFlags ) )To create the container, put the following LDIF data in a file. Substitute your actualsearch base for searchBase.dn: ou=ClientInfo, searchBaseobjectClass: organizationalUnitou: ClientInfoobjectClass: topUse the above file as input to the ldapadd comm<strong>and</strong> in order to create theou=ClientInfo container. For example, if your <strong>LDAP</strong> administrator DN iscn=directory manager, <strong>and</strong> the file with the LDIF data is called cifile, dothefollowing.# ldapadd -D cn="directory manager" -f cifileDepending on the authentication required, the ldapadd comm<strong>and</strong> might prompt fora password.The /var/nis/<strong>NIS</strong>+<strong>LDAP</strong>mapping.template file contains commented-outdefinitions for the client_info.org_dir table. Copy these to the actual mappingfile, enable by removing the comment character ’#’, <strong>and</strong> restart the rpc.nisddaemon.# svcadm restart network/rpc/nisplus:defaultIf necessary, synchronize <strong>NIS</strong>+ <strong>and</strong> <strong>LDAP</strong> data as described in “<strong>NIS</strong>+ to <strong>LDAP</strong>Migration Scenarios” on page 264.timezone Attributes <strong>and</strong> Object ClassCreate attributes <strong>and</strong> object class as below, <strong>and</strong> then create the container for thetimezone data. The suggested container name is ou=Timezone. (The LDIF data issuitable for ldapadd(1). Attribute <strong>and</strong> object class OIDs are examples only.)dn: cn=schemachangetype: modifyadd: attributetypesattributetypes: ( 1.3.6.1.4.1.42.2.27.5.42.42.15.0 NAME ’nisplusTimeZone’ \DESC ’tzone column from <strong>NIS</strong>+ timezone table’ \SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )dn: cn=schemachangetype: modifyChapter 16 • Transitioning From <strong>NIS</strong>+ to <strong>LDAP</strong> 281

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

Saved successfully!

Ooh no, something went wrong!