This section describes the following automount schemas:
new automount schema
An automount schema is based on RFC 2307-bis. This schema defines new automountMap and automount structures to represent the AutoFS maps and their entries in the LDAP directory.
LDAP-UX Client Services supports the new automount schema. Read subsequent sections of this chapter for the detailed information about the automount schemas.
New Automount Schema |
 |
This schema is a new schema based on RFC 2307-bis. This schema defines new automountMap and automount structures to represent AutoFS maps and their entries in the LDAP directory. AutoFS maps are stored in the LDAP directory server using structures defined by this schema.
The new automount schema based on RFC 2307-bis is not loaded in the Windows 2000/2003/2003 R2 Active Directory Server. If you are installing LDAP-UX B.04.10 on your client system, the setup program will import the new automount schema into your Active Directory Server. If you previously configured LDAP-UX B.04.00 or an earlier version, and are now updating the product to version B.04.10, you must re-run the setup program to import the new automount schema into the LDAP directory server. The subsequent client systems do not need to re-run the setup.
Schema |
 |
The following shows the new automount schema based on RFC 2307-bis in the LDIF format:
objectClasses: ( 1.3.6.1.1.1.2.16
Name 'automountMap'
DESC 'AutomountMap
SUP top STRUCURAL
MUST ( automountMapName & cn )
MAP description
X-ORIGIN 'user defined' )
objectClasses: ( 1.3.6.1.1.1.2.17
NAME 'automount'
DESC 'Automount'
SUP top STRUCTURAL
MUST ( automountKey & automountInformation & cn )
MAY description
X-ORIGIN 'user defined' )
attributeTypes: ( 1.3.6.1.1.1.1.31
NAME 'automountMapName
DESC 'automountMapName'
EQUALITY caseExactIA5Match
SYNTAX 2.5.5.5 SINGLE-VALUE
X-ORIGIN 'user defined')
attributeTypes: ( 1.3.6.1.1.1.1.32
NAME 'automountKey'
DESC 'AutomountKey'
EQUALITY caseExactIA5Match
SYNTAX 2.5.5.5 SINGLE-VALUE
X-ORIGIN 'user defined' )
attributeTypes: ( 1.3.6.1.1.1.1.33
NAME 'automountInformation'
DESC 'AutomountInformation'
EQUALITY caseExactIA5Match
SYNTAX 2.5.5.5 SINGLE-VALUE
X-ORIGIN 'user defined' )
|
An Example |
 |
The following shows an example of a direct AutoFS map, auto_direct, stored in the LDAP directory server using new automount schema:
dn:cn=auto_direct,dc=nishpind
objectClass: top
objectClass: automountMap
automountMapName: auto_direct
cn: auto_direct
dn:cn=/mnt_direct/usr1, cn=auto_direct, dc=nishpind
objectClass: top
objectClass: automount
automountInformation: hostA: /tmp
automountKey: /mnt_direct/usr1
cn: /mnt_direct/usr1
dn:cn=/mnt_direct/usr2, cn=auto_direct, dc=nishpind
objectClass: top
objectClass: automount
automountInformation: hostB: /tmp
automountKey: /mnt_direct/usr2
cn: /mnt_direct/usr2
|