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.

# St<strong>and</strong>ard <strong>NIS</strong>+ directoriesnisplus<strong>LDAP</strong>entryTtl...basedir:21600:43200:43200nisplus<strong>LDAP</strong>entryTtlnisplus<strong>LDAP</strong>entryTtluser_attr_table:21600:43200:43200audit_user_table:21600:43200:43200# St<strong>and</strong>ard <strong>NIS</strong>+ directoriesnisplus<strong>LDAP</strong>objectDN basedir:cn=basedir,ou=nisPlus,?base?\...objectClass=nisplusObjectContainer:\cn=basedir,ou=nisPlus,?base?\objectClass=nisplusObjectContainer,\objectClass=topnisplus<strong>LDAP</strong>objectDN audit_user_table:cn=audit_user,ou=nisPlus,?base?\objectClass=nisplusObjectContainer:\cn=audit_user,ou=nisPlus,?base?\objectClass=nisplusObjectContainer,\objectClass=top■ <strong>NIS</strong>+ replicas obtain their data from <strong>LDAP</strong> server.Create the nisplusObject attribute <strong>and</strong> nisplusObjectContainer objectclass as shown in the following example (LDIF data is suitable for ldapadd(1).Attribute <strong>and</strong> object class OIDs are for illustration only.)dn: cn=schemachangetype: modifyadd: attributetypesattributetypes: ( 1.3.6.1.4.1.42.2.27.5.42.42.1.0 NAME ’nisplusObject’DESC ’An opaque representation of an <strong>NIS</strong>+ object’SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 SINGLE-VALUE )dn: cn=schemachangetype: modifyadd: objectclassesobjectclasses: (1.3.6.1.4.1.42.2.27.5.42.42.2.0 NAME’nisplusObjectContainer’SUP top STRUCTURAL DESC ’Abstraction of an <strong>NIS</strong>+ object’MUST ( cn $ nisplusObject ) )dn: ou=nisPlus,dc=some,dc=domainou: nisPlusobjectClass: topobjectClass: organizationalUnitYou also need to create a container for the <strong>NIS</strong>+ objects. The following LDIF syntaxshows how to create the ou=nisPlus,dc=some,dc=domain container, <strong>and</strong> canbe used as input to ldapadd(1).274 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!