2008-10-30 16:25:45 -05:00
|
|
|
#
|
|
|
|
# An automount schema based on RFC 2307-bis.
|
|
|
|
#
|
|
|
|
# This schema defines new automount and automountMap objectclasses to represent
|
|
|
|
# the automount maps and their entries.
|
|
|
|
#
|
|
|
|
dn: cn=schema
|
|
|
|
add:attributeTypes:
|
|
|
|
( 1.3.6.1.1.1.1.31 NAME 'automountMapName'
|
|
|
|
DESC 'automount Map Name'
|
|
|
|
EQUALITY caseExactIA5Match
|
|
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE
|
|
|
|
X-ORIGIN 'RFC 2307bis' )
|
|
|
|
add:attributeTypes:
|
|
|
|
( 1.3.6.1.1.1.1.32 NAME 'automountKey'
|
|
|
|
DESC 'Automount Key value'
|
|
|
|
EQUALITY caseExactIA5Match
|
|
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE
|
|
|
|
X-ORIGIN 'RFC 2307bis' )
|
|
|
|
add:attributeTypes:
|
|
|
|
( 1.3.6.1.1.1.1.33 NAME 'automountInformation'
|
|
|
|
DESC 'Automount information'
|
|
|
|
EQUALITY caseExactIA5Match
|
|
|
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE
|
|
|
|
X-ORIGIN 'RFC 2307bis' )
|
|
|
|
add:objectClasses:
|
|
|
|
( 1.3.6.1.1.1.2.16 NAME 'automountMap'
|
|
|
|
DESC 'Automount Map information' SUP top
|
|
|
|
STRUCTURAL MUST automountMapName MAY description
|
|
|
|
X-ORIGIN 'RFC 2307bis' )
|
|
|
|
add:objectClasses:
|
|
|
|
( 1.3.6.1.1.1.2.17 NAME 'automount'
|
|
|
|
DESC 'Automount information' SUP top STRUCTURAL
|
|
|
|
MUST ( automountKey $ automountInformation ) MAY description
|
|
|
|
X-ORIGIN 'RFC 2307bis' )
|
2008-11-14 17:04:57 -06:00
|
|
|
|
|
|
|
# Add the default automount entries
|
|
|
|
|
|
|
|
dn: cn=automount,$SUFFIX
|
|
|
|
add:objectClass: nsContainer
|
|
|
|
add:cn: automount
|
|
|
|
|
|
|
|
dn: automountmapname=auto.master,cn=automount,$SUFFIX
|
|
|
|
add:objectClass: automountMap
|
|
|
|
add:automountMapName: auto.master
|
|
|
|
|
|
|
|
dn: automountkey=/-,automountmapname=auto.master,cn=automount,$SUFFIX
|
|
|
|
add:objectClass: automount
|
|
|
|
add:automountKey: '/-'
|
|
|
|
add:automountInformation: auto.direct
|
|
|
|
|
|
|
|
dn: automountmapname=auto.direct,cn=automount,$SUFFIX
|
|
|
|
add:objectClass: automountMap
|
|
|
|
add:automountMapName: auto.direct
|