summaryrefslogtreecommitdiffstats
path: root/ipaserver/updates/automount.update
blob: 13d9a6df0c6cab57dcf8eb05fb03c6c4527ec160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# 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' )

# 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