!!! Overview [{$pagename}] [LDAP schema used by autofs] The following shows an example of a direct AutoFS map, auto_direct, stored in the LDAP directory server using new (rfc-2307bis) automount schema: {{{ dn:automountMapName=auto_direct,dc=nishpind objectClass: top objectClass: automountMap automountMapName: auto_direct dn:automountKey=/mnt_direct/test1,automountMapname=auto_direct, dc=nishpind objectClass: top objectClass: automount automountInformation:hostA:/tmp automountKey: /mnt_direct/test1 dn:automountKey=/mnt_direct/test2,automountMapname=auto_direct, dc=nishpind objectClass: top objectClass: automount automountInformation:hostB:/tmp automountKey:/mnt_direct/test2 }}} Automounts become a DIT structure similar to: {{{ dc=com |--dc=willeke |---ou=Unix |----automountMapName=auto_direct |-----automountKey=/mnt_direct/test1 |-----automountKey=/mnt_direct/test2 }}} !!The nisObject Automount (rfc-2307) Schema The nisObject automount schema defines nisMap and nisObject structures to represent the AutoFS maps and their entries. The AutoFS maps are stored in the LDAP directory server using the nisMap and nisObject structures. An Example The following shows an example of a direct AutoFS map, auto_direct, stored in the LDAP directory server using the nisObject automount schema: {{{ dn:nisMapName=auto_direct,dc=nishpind objectClass: top objectClass: nisMap nisMapName: auto_directdn:cn=/mnt_direct/test1, nisMapName=auto_direct, dc=nishpind objectClass: top objectClass: nisObject nisMapName: auto_direct cn: /mnt_direct/test1 nisMapEntry:hostA:/tmp dn:cn=/mnt_direct/test2, nisMapname=auto_direct, dc=nishpind objectClass: top objectClass: nisObject nisMapName: auto_direct cn: /mnt_direct/test2 nisMapEntry:hostB:/tmp }}} !!!Limitations The nisObject automount schema contains three attributes: * cn * nisMapEntry * nisMapName. cn is an attribute that ignores case-matching. Consider the following example: {{{ # an indirect map named auto_test test1 server1:/source TEST1 server2:/source }}} In the above example, because the cn attribute is case-insensitive, the LDAP considers “cn=TEST1, nisMapName=auto_test” to be a redefinition of “cn=test1, nisMapName=auto_test”. Using the nisObject automount map schema, capital letters are not significant. In other words, if two keys have names that are only different by the use of capital letters, then one of those entries will be rendered inoperable because the other one is the only one that can be retrieved. NOTE: If you use the nisObject automount map schema, do not use any keys that have capital letters and only differ from other keys by those capital letters. !![Create uniform namespace using autofs with NFS Version 3 clients and servers|http://www.ibm.com/developerworks/aix/library/au-namespace/index.html] !! More Information There might be more information for this subject on one of the following: [{ReferringPagesPlugin before='*' after='\n' }]