Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 484244 | Differences between
and this patch

Collapse All | Expand All

(-)rfc2307bis.schema-20120525 (-36 / +22 lines)
Lines 4-9 Link Here
4
# Extracted from http://tools.ietf.org/id/draft-howard-rfc2307bis-02.txt
4
# Extracted from http://tools.ietf.org/id/draft-howard-rfc2307bis-02.txt
5
# as of 2012/05/25, by Robin H. Johnson <robbat2@gentoo.org>
5
# as of 2012/05/25, by Robin H. Johnson <robbat2@gentoo.org>
6
#
6
#
7
# Updated on 2014/05/23 by Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
8
# Remove extraneous "'" characters, replace SUBSTRINGS with SUBSTR, add missing
9
# MAY section to nisObject, drop authPassword as it's still not supported by
10
# openldap and add SUBSTR matching rule for memberUid.
11
12
# Attribute Type Definitions
13
7
#attributetype     ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
14
#attributetype     ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
8
#         DESC 'An integer uniquely identifying a user in an
15
#         DESC 'An integer uniquely identifying a user in an
9
#               administrative domain'
16
#               administrative domain'
Lines 25-31 Link Here
25
attributetype     ( 1.3.6.1.1.1.1.2 NAME 'gecos'
32
attributetype     ( 1.3.6.1.1.1.1.2 NAME 'gecos'
26
         DESC 'The GECOS field; the common name'
33
         DESC 'The GECOS field; the common name'
27
         EQUALITY caseIgnoreMatch
34
         EQUALITY caseIgnoreMatch
28
         SUBSTRINGS caseIgnoreSubstringsMatch
35
         SUBSTR caseIgnoreSubstringsMatch
29
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
36
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
30
         SINGLE-VALUE )
37
         SINGLE-VALUE )
31
38
Lines 42-47 Link Here
42
         EQUALITY caseExactIA5Match
49
         EQUALITY caseExactIA5Match
43
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
50
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
44
         SINGLE-VALUE )
51
         SINGLE-VALUE )
52
45
     
53
     
46
attributetype	 ( 1.3.6.1.1.1.1.5 NAME 'shadowLastChange'
54
attributetype	 ( 1.3.6.1.1.1.1.5 NAME 'shadowLastChange'
47
         EQUALITY integerMatch
55
         EQUALITY integerMatch
Lines 92-101 Link Here
92
         SINGLE-VALUE )
100
         SINGLE-VALUE )
93
101
94
102
95
96
97
attributetype     ( 1.3.6.1.1.1.1.12 NAME 'memberUid'
103
attributetype     ( 1.3.6.1.1.1.1.12 NAME 'memberUid'
98
         EQUALITY caseExactMatch
104
         EQUALITY caseExactMatch
105
         SUBSTR caseExactSubstringsMatch
99
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
106
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
100
107
101
108
Lines 107-113 Link Here
107
attributetype     ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
114
attributetype     ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
108
         DESC 'Netgroup triple'
115
         DESC 'Netgroup triple'
109
         EQUALITY caseIgnoreMatch
116
         EQUALITY caseIgnoreMatch
110
         SUBSTRINGS caseIgnoreSubstringsMatch
117
         SUBSTR caseIgnoreSubstringsMatch
111
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
118
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
112
119
113
120
Lines 141-152 Link Here
141
         SINGLE-VALUE )
148
         SINGLE-VALUE )
142
149
143
150
144
145
146
147
148
149
150
attributetype     ( 1.3.6.1.1.1.1.19 NAME 'ipHostNumber'
151
attributetype     ( 1.3.6.1.1.1.1.19 NAME 'ipHostNumber'
151
         DESC 'IPv4 addresses as a dotted decimal omitting leading
152
         DESC 'IPv4 addresses as a dotted decimal omitting leading
152
               zeros or IPv6 addresses as defined in RFC2373'
153
               zeros or IPv6 addresses as defined in RFC2373'
Lines 193-205 Link Here
193
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} )
194
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} )
194
195
195
196
196
197
198
199
200
201
202
203
attributetype     ( 1.3.6.1.1.1.1.27 NAME 'nisMapEntry'
197
attributetype     ( 1.3.6.1.1.1.1.27 NAME 'nisMapEntry'
204
         DESC 'A generic NIS entry'
198
         DESC 'A generic NIS entry'
205
         EQUALITY caseExactMatch
199
         EQUALITY caseExactMatch
Lines 248-265 Link Here
248
         SINGLE-VALUE )
242
         SINGLE-VALUE )
249
243
250
244
245
# Object Class Definitions
251
246
252
objectclass     ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' SUP top AUXILIARY
247
objectclass     ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' SUP top AUXILIARY
253
         DESC 'Abstraction of an account with POSIX attributes'
248
         DESC 'Abstraction of an account with POSIX attributes'
254
         MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
249
         MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
255
         MAY ( authPassword $ userPassword $ loginShell $ gecos $
250
         MAY ( userPassword $ loginShell $ gecos $
256
               description ) )
251
               description ) )
257
252
258
253
259
objectclass     ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' SUP top AUXILIARY
254
objectclass     ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' SUP top AUXILIARY
260
         DESC 'Additional attributes for shadow passwords'
255
         DESC 'Additional attributes for shadow passwords'
261
         MUST uid
256
         MUST uid
262
         MAY ( authPassword $ userPassword $ description $
257
         MAY ( userPassword $ description $
263
               shadowLastChange $ shadowMin $ shadowMax $
258
               shadowLastChange $ shadowMin $ shadowMax $
264
               shadowWarning $ shadowInactive $
259
               shadowWarning $ shadowInactive $
265
               shadowExpire $ shadowFlag ) )
260
               shadowExpire $ shadowFlag ) )
Lines 268-274 Link Here
268
objectclass     ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top AUXILIARY
263
objectclass     ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top AUXILIARY
269
         DESC 'Abstraction of a group of accounts'
264
         DESC 'Abstraction of a group of accounts'
270
         MUST gidNumber
265
         MUST gidNumber
271
         MAY ( authPassword $ userPassword $ memberUid $
266
         MAY ( userPassword $ memberUid $
272
               description ) )
267
               description ) )
273
268
274
269
Lines 276-283 Link Here
276
         DESC 'Abstraction an Internet Protocol service.
271
         DESC 'Abstraction an Internet Protocol service.
277
               Maps an IP port and protocol (such as tcp or udp)
272
               Maps an IP port and protocol (such as tcp or udp)
278
               to one or more names; the distinguished value of
273
               to one or more names; the distinguished value of
279
               the cn attribute denotes the service's canonical
274
               the cn attribute denotes the canonical name of the
280
               name'
275
               service'
281
         MUST ( cn $ ipServicePort $ ipServiceProtocol )
276
         MUST ( cn $ ipServicePort $ ipServiceProtocol )
282
         MAY description )
277
         MAY description )
283
278
Lines 290-314 Link Here
290
         MAY description )
285
         MAY description )
291
286
292
287
293
294
295
296
objectclass     ( 1.3.6.1.1.1.2.5 NAME 'oncRpc' SUP top STRUCTURAL
288
objectclass     ( 1.3.6.1.1.1.2.5 NAME 'oncRpc' SUP top STRUCTURAL
297
         DESC 'Abstraction of an Open Network Computing (ONC)
289
         DESC 'Abstraction of an Open Network Computing (ONC)
298
              [RFC1057] Remote Procedure Call (RPC) binding.
290
              [RFC1057] Remote Procedure Call (RPC) binding.
299
              This class maps an ONC RPC number to a name.
291
              This class maps an ONC RPC number to a name.
300
              The distinguished value of the cn attribute denotes
292
              The distinguished value of the cn attribute denotes
301
              the RPC service canonical name'
293
              the canonical name of the RPC service'
302
         MUST ( cn $ oncRpcNumber )
294
         MUST ( cn $ oncRpcNumber )
303
         MAY description )
295
         MAY description )
304
296
305
297
306
objectclass     ( 1.3.6.1.1.1.2.6 NAME 'ipHost' SUP top AUXILIARY
298
objectclass     ( 1.3.6.1.1.1.2.6 NAME 'ipHost' SUP top AUXILIARY
307
         DESC 'Abstraction of a host, an IP device. The distinguished
299
         DESC 'Abstraction of a host, an IP device. The distinguished
308
               value of the cn attribute denotes the host's canonical
300
               value of the cn attribute denotes the canonical name of
309
            name. Device SHOULD be used as a structural class'
301
               the host. Device SHOULD be used as a structural class'
310
         MUST ( cn $ ipHostNumber )
302
         MUST ( cn $ ipHostNumber )
311
         MAY ( authPassword $ userPassword $ l $ description $
303
         MAY ( userPassword $ l $ description $
312
               manager ) )
304
               manager ) )
313
305
314
306
Lines 335-340 Link Here
335
objectclass     ( 1.3.6.1.1.1.2.10 NAME 'nisObject' SUP top STRUCTURAL
327
objectclass     ( 1.3.6.1.1.1.2.10 NAME 'nisObject' SUP top STRUCTURAL
336
         DESC 'An entry in a NIS map'
328
         DESC 'An entry in a NIS map'
337
         MUST ( cn $ nisMapEntry $ nisMapName )
329
         MUST ( cn $ nisMapEntry $ nisMapName )
330
         MAY description )
338
331
339
332
340
objectclass     ( 1.3.6.1.1.1.2.11 NAME 'ieee802Device' SUP top AUXILIARY
333
objectclass     ( 1.3.6.1.1.1.2.11 NAME 'ieee802Device' SUP top AUXILIARY
Lines 343-351 Link Here
343
         MAY macAddress )
336
         MAY macAddress )
344
337
345
338
346
347
348
349
objectclass     ( 1.3.6.1.1.1.2.12 NAME 'bootableDevice' SUP top AUXILIARY
339
objectclass     ( 1.3.6.1.1.1.2.12 NAME 'bootableDevice' SUP top AUXILIARY
350
         DESC 'A device with boot parameters; device SHOULD be
340
         DESC 'A device with boot parameters; device SHOULD be
351
               used as a structural class'
341
               used as a structural class'
Lines 380-386 Link Here
380
         MAY ( businessCategory $ seeAlso $ owner $ ou $ o $
370
         MAY ( businessCategory $ seeAlso $ owner $ ou $ o $
381
               description $ member ) )
371
               description $ member ) )
382
372
383
384
385
386

Return to bug 484244