[packages] openldap: add autofs/automount schema suitable for Mac OS X, Linux and...
[packages.git] / libs / openldap / patches / 020-autofs-schema.patch
1 diff -u --recursive --new-file openldap-2.4.19-vanilla/servers/slapd/schema/autofs.schema openldap-2.4.19/servers/slapd/schema/autofs.schema
2 --- openldap-2.4.19-vanilla/servers/slapd/schema/autofs.schema  1969-12-31 19:00:00.000000000 -0500
3 +++ openldap-2.4.19/servers/slapd/schema/autofs.schema  2010-01-03 19:34:36.235296300 -0500
4 @@ -0,0 +1,23 @@
5 +attributetype ( 1.3.6.1.1.1.1.31 NAME 'automountMapName'
6 +       DESC 'Automount map name'
7 +       EQUALITY caseExactMatch
8 +       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
9 +                       
10 +attributetype ( 1.3.6.1.1.1.1.32 NAME 'automountKey'
11 +       DESC 'Automount key value'
12 +       EQUALITY caseExactMatch
13 +       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
14 +                       
15 +attributetype ( 1.3.6.1.1.1.1.33 NAME 'automountInformation'
16 +       DESC 'Automount information'
17 +       EQUALITY caseExactMatch
18 +       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
19 +                       
20 +objectclass ( 1.3.6.1.1.1.2.16 NAME 'automountMap' SUP top STRUCTURAL
21 +       MUST ( automountMapName )
22 +       MAY ( description ) )
23 +                                       
24 +objectclass ( 1.3.6.1.1.1.2.17 NAME 'automount' SUP top STRUCTURAL
25 +       DESC 'Automount'
26 +       MUST ( automountKey $ automountInformation )
27 +       MAY description )