]>
Commit | Line | Data |
---|---|---|
1 | # vim: set filetype=slapd: | |
2 | objectIdentifier Immaeroot 1.3.6.1.4.1.50071 | |
3 | ||
4 | objectIdentifier Immae Immaeroot:2 | |
5 | objectIdentifier ImmaeattributeType Immae:3 | |
6 | objectIdentifier ImmaeobjectClass Immae:4 | |
7 | ||
8 | # TT-RSS | |
9 | attributetype ( ImmaeattributeType:1 NAME 'immaeTtrssLogin' | |
10 | DESC 'login for TTRSS' | |
11 | EQUALITY caseIgnoreMatch | |
12 | SUBSTR caseIgnoreSubstringsMatch | |
13 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) | |
14 | ||
15 | objectclass ( ImmaeobjectClass:1 NAME 'immaeTtrssClass' | |
16 | DESC 'Expansion of the existing object classes for ttrss' | |
17 | SUP top AUXILIARY | |
18 | MUST ( immaeTtrssLogin ) ) | |
19 | ||
20 | # FTP | |
21 | attributetype ( ImmaeattributeType:2 NAME 'immaeFtpDirectory' | |
22 | DESC 'home directory for ftp' | |
23 | EQUALITY caseExactIA5Match | |
24 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) | |
25 | ||
26 | attributetype ( ImmaeattributeType:3 NAME 'immaeFtpUid' | |
27 | DESC 'user id for ftp' | |
28 | EQUALITY integerMatch | |
29 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 ) | |
30 | ||
31 | attributetype ( ImmaeattributeType:4 NAME 'immaeFtpGid' | |
32 | DESC 'group id for ftp' | |
33 | EQUALITY integerMatch | |
34 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 ) | |
35 | ||
36 | objectclass ( ImmaeobjectClass:2 NAME 'immaeFtpClass' | |
37 | DESC 'Expansion of the existing object classes for ftp' | |
38 | SUP top AUXILIARY | |
39 | MUST ( immaeFtpDirectory $ immaeFtpGid $ immaeFtpUid ) ) | |
40 | ||
41 | ||
42 | # SSH keys | |
43 | attributetype ( ImmaeattributeType:5 NAME 'immaeSshKey' | |
44 | DESC 'OpenSSH Public key' | |
45 | EQUALITY octetStringMatch | |
46 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 ) | |
47 | ||
48 | objectClass ( ImmaeobjectClass:3 NAME 'immaeSshClass' | |
49 | DESC 'OpenSSH class' | |
50 | SUP top AUXILIARY | |
51 | MAy ( immaeSSHKey ) ) | |
52 | ||
53 | # Specific access | |
54 | attributetype (ImmaeattributeType:6 NAME 'immaeAccessDn' | |
55 | EQUALITY distinguishedNameMatch | |
56 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ) | |
57 | ||
58 | attributetype (ImmaeattributeType:17 NAME 'immaeAccessWriteDn' | |
59 | EQUALITY distinguishedNameMatch | |
60 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ) | |
61 | ||
62 | attributetype (ImmaeattributeType:18 NAME 'immaeAccessReadSubtree' | |
63 | EQUALITY distinguishedNameMatch | |
64 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ) | |
65 | ||
66 | objectClass ( ImmaeobjectClass:4 NAME 'immaeAccessClass' | |
67 | DESC 'Access class' | |
68 | SUP top AUXILIARY | |
69 | MAY ( immaeAccessDn $ immaeAccessWriteDn $ immaeAccessReadSubtree ) ) | |
70 | ||
71 | # Xmpp uid | |
72 | attributetype ( ImmaeattributeType:7 NAME 'immaeXmppUid' | |
73 | DESC 'user part for Xmpp' | |
74 | EQUALITY caseIgnoreMatch | |
75 | SUBSTR caseIgnoreSubstringsMatch | |
76 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) | |
77 | ||
78 | objectclass ( ImmaeobjectClass:5 NAME 'immaeXmppClass' | |
79 | DESC 'Expansion of the existing object classes for XMPP' | |
80 | SUP top AUXILIARY | |
81 | MUST ( immaeXmppUid ) ) | |
82 | ||
83 | # Postfix accounts | |
84 | attributetype ( ImmaeattributeType:8 NAME 'immaePostfixAddress' | |
85 | DESC 'the dovecot address to match as username' | |
86 | EQUALITY caseIgnoreIA5Match | |
87 | SUBSTR caseIgnoreIA5SubstringsMatch | |
88 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) | |
89 | ||
90 | attributetype ( ImmaeattributeType:9 NAME 'immaePostfixHome' | |
91 | DESC 'the postfix home directory' | |
92 | EQUALITY caseExactIA5Match | |
93 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) | |
94 | ||
95 | attributetype ( ImmaeattributeType:10 NAME 'immaePostfixMail' | |
96 | DESC 'the dovecot mail location' | |
97 | EQUALITY caseExactIA5Match | |
98 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) | |
99 | ||
100 | attributetype ( ImmaeattributeType:11 NAME 'immaePostfixUid' | |
101 | DESC 'the dovecot uid' | |
102 | EQUALITY caseExactIA5Match | |
103 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) | |
104 | ||
105 | attributetype ( ImmaeattributeType:12 NAME 'immaePostfixGid' | |
106 | DESC 'the dovecot gid' | |
107 | EQUALITY caseExactIA5Match | |
108 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) | |
109 | ||
110 | objectclass ( ImmaeobjectClass:6 NAME 'immaePostfixClass' | |
111 | DESC 'Expansion of the existing object classes for Postfix' | |
112 | SUP top AUXILIARY | |
113 | MAY ( immaePostfixHome $ immaePostfixMail $ immaePostfixUid $ immaePostfixGid ) | |
114 | MUST ( immaePostfixAddress ) | |
115 | ) | |
116 | ||
117 | # Tinc informations | |
118 | # Domaine = une classe a part ou une partie du dn ? | |
119 | # attributetype ( ImmaeattributeType:13 NAME 'immaeTincIpSegment' | |
120 | # DESC 'the internal ip segment in tinc' | |
121 | # EQUALITY caseIgnoreIA5Match | |
122 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) | |
123 | # | |
124 | # attributetype ( ImmaeattributeType:14 NAME 'immaeTincSubdomain' | |
125 | # DESC 'the host subdomain' | |
126 | # EQUALITY caseIgnoreIA5Match | |
127 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) | |
128 | # | |
129 | # attributetype ( ImmaeattributeType:15 NAME 'immaeTincHostname' | |
130 | # DESC 'the host name' | |
131 | # EQUALITY caseIgnoreIA5Match | |
132 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} ) | |
133 | # | |
134 | # objectclass ( ImmaeobjectClass:7 NAME 'immaeTincHostClass' | |
135 | # DESC 'Expansion of the existing object classes for Tinc' | |
136 | # SUP top AUXILIARY | |
137 | # MUST ( immaeTincInternalIp $ immaeTincSubdomain $ | |
138 | # immaeTincHostname ) | |
139 | # ) | |
140 | ||
141 | attributetype (ImmaeattributeType:16 NAME 'immaePuppetJson' | |
142 | DESC 'Puppet hiera json' | |
143 | EQUALITY octetStringMatch | |
144 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 ) | |
145 | ||
146 | objectclass ( ImmaeobjectClass:8 NAME 'immaePuppetClass' | |
147 | DESC 'Expansion of the existing object classes for Puppet' | |
148 | SUP top AUXILIARY | |
149 | MUST ( immaePuppetJson ) | |
150 | ) | |
151 | ||
152 | attributetype (ImmaeattributeType:19 NAME 'immaeTaskId' | |
153 | DESC 'Taskwarrior server Org:Name:Key' | |
154 | EQUALITY caseIgnoreMatch | |
155 | SUBSTR caseIgnoreSubstringsMatch | |
156 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) | |
157 | ||
158 | objectclass ( ImmaeobjectClass:9 NAME 'immaeTaskClass' | |
159 | DESC 'Expansion of the existing object classes for Task' | |
160 | SUP top AUXILIARY | |
161 | MUST ( immaeTaskId ) | |
162 | ) | |
163 | ||
164 | # Peertube uid | |
165 | attributetype ( ImmaeattributeType:20 NAME 'immaePeertubeId' | |
166 | DESC 'login for Peertube' | |
167 | EQUALITY caseIgnoreMatch | |
168 | SUBSTR caseIgnoreSubstringsMatch | |
169 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) | |
170 | ||
171 | objectclass ( ImmaeobjectClass:10 NAME 'immaePeertubeClass' | |
172 | DESC 'Expansion of the existing object classes for peertube' | |
173 | SUP top AUXILIARY | |
174 | MUST ( immaePeertubeId ) ) | |
175 | ||
176 | ||
177 | # Last: | |
178 | # attributetype ( ImmaeattributeType:20 NAME 'immaePeertubeId' | |
179 | # objectclass ( ImmaeobjectClass:10 NAME 'immaePeertubeClass' |