@@ -106,29 +106,32 @@ class ObjectClass(SchemaElement):
106
106
oid
107
107
OID assigned to the object class
108
108
names
109
- This list of strings contains all NAMEs of the object class
109
+ All NAMEs of the object class (tuple of strings)
110
110
desc
111
- This string contains description text (DESC) of the object class
111
+ Description text (DESC) of the object class (string, or None if missing)
112
112
obsolete
113
113
Integer flag (0 or 1) indicating whether the object class is marked
114
114
as OBSOLETE in the schema
115
115
must
116
- This list of strings contains NAMEs or OIDs of all attributes
117
- an entry of the object class must have
116
+ NAMEs or OIDs of all attributes an entry of the object class must have
117
+ (tuple of strings)
118
118
may
119
- This list of strings contains NAMEs or OIDs of additional attributes
120
- an entry of the object class may have
119
+ NAMEs or OIDs of additional attributes an entry of the object class may
120
+ have (tuple of strings)
121
121
kind
122
122
Kind of an object class:
123
123
0 = STRUCTURAL,
124
124
1 = ABSTRACT,
125
125
2 = AUXILIARY
126
126
sup
127
- This list of strings contains NAMEs or OIDs of object classes
128
- this object class is derived from
127
+ NAMEs or OIDs of object classes this object class is derived from
128
+ (tuple of strings)
129
129
x_origin
130
- This string contains the X-ORIGIN text which is typically used to indicate
131
- the source of the associated schema element. It can a list of strings
130
+ Value of the X-ORIGIN extension flag (tuple of strings)
131
+
132
+ Although it's not official, X-ORIGIN is used in several LDAP server
133
+ implementations to indicate the source of the associated schema
134
+ element
132
135
"""
133
136
schema_attribute = u'objectClasses'
134
137
token_defaults = {
@@ -196,43 +199,46 @@ class AttributeType(SchemaElement):
196
199
Class attributes:
197
200
198
201
oid
199
- OID assigned to the attribute type
202
+ OID assigned to the attribute type (string)
200
203
names
201
- This list of strings contains all NAMEs of the attribute type
204
+ All NAMEs of the attribute type (tuple of strings)
202
205
desc
203
- This string contains description text (DESC) of the attribute type
206
+ Description text (DESC) of the attribute type (string, or None if missing)
204
207
obsolete
205
208
Integer flag (0 or 1) indicating whether the attribute type is marked
206
209
as OBSOLETE in the schema
207
210
single_value
208
211
Integer flag (0 or 1) indicating whether the attribute must
209
212
have only one value
210
213
syntax
211
- String contains OID of the LDAP syntax assigned to the attribute type
214
+ OID of the LDAP syntax assigned to the attribute type
212
215
no_user_mod
213
216
Integer flag (0 or 1) indicating whether the attribute is modifiable
214
217
by a client application
215
218
equality
216
- String contains NAME or OID of the matching rule used for
217
- checking whether attribute values are equal
219
+ NAME or OID of the matching rule used for checking whether attribute values
220
+ are equal (string, or None if missing)
218
221
substr
219
- String contains NAME or OID of the matching rule used for
220
- checking whether an attribute value contains another value
222
+ NAME or OID of the matching rule used for checking whether an attribute
223
+ value contains another value (string, or None if missing)
221
224
ordering
222
- String contains NAME or OID of the matching rule used for
223
- checking whether attribute values are lesser-equal than
225
+ NAME or OID of the matching rule used for checking whether attribute values
226
+ are lesser-equal than (string, or None if missing)
224
227
usage
225
228
USAGE of an attribute type:
226
229
0 = userApplications
227
230
1 = directoryOperation,
228
231
2 = distributedOperation,
229
232
3 = dSAOperation
230
233
sup
231
- This list of strings contains NAMEs or OIDs of attribute types
232
- this attribute type is derived from
234
+ NAMEs or OIDs of attribute types this attribute type is derived from
235
+ (tuple of strings)
233
236
x_origin
234
- This string contains the X-ORIGIN text which is typically used to indicate
235
- the source of the associated schema element. It can a list of strings
237
+ Value of the X-ORIGIN extension flag (tuple of strings).
238
+
239
+ Although it's not official, X-ORIGIN is used in several LDAP server
240
+ implementations to indicate the source of the associated schema
241
+ element
236
242
"""
237
243
schema_attribute = u'attributeTypes'
238
244
token_defaults = {
@@ -323,7 +329,7 @@ class LDAPSyntax(SchemaElement):
323
329
oid
324
330
OID assigned to the LDAP syntax
325
331
desc
326
- This string contains description text (DESC) of the LDAP syntax
332
+ Description text (DESC) of the LDAP syntax (string, or None if missing)
327
333
not_human_readable
328
334
Integer flag (0 or 1) indicating whether the attribute type is marked
329
335
as not human-readable (X-NOT-HUMAN-READABLE)
@@ -367,14 +373,15 @@ class MatchingRule(SchemaElement):
367
373
oid
368
374
OID assigned to the matching rule
369
375
names
370
- This list of strings contains all NAMEs of the matching rule
376
+ All NAMEs of the matching rule (tuple of strings)
371
377
desc
372
- This string contains description text (DESC) of the matching rule
378
+ Description text (DESC) of the matching rule
373
379
obsolete
374
380
Integer flag (0 or 1) indicating whether the matching rule is marked
375
381
as OBSOLETE in the schema
376
382
syntax
377
- String contains OID of the LDAP syntax this matching rule is usable with
383
+ OID of the LDAP syntax this matching rule is usable with
384
+ (string, or None if missing)
378
385
"""
379
386
schema_attribute = u'matchingRules'
380
387
token_defaults = {
@@ -412,15 +419,15 @@ class MatchingRuleUse(SchemaElement):
412
419
oid
413
420
OID of the accompanying matching rule
414
421
names
415
- This list of strings contains all NAMEs of the matching rule
422
+ All NAMEs of the matching rule (tuple of strings)
416
423
desc
417
- This string contains description text (DESC) of the matching rule
424
+ Description text (DESC) of the matching rule (string, or None if missing)
418
425
obsolete
419
426
Integer flag (0 or 1) indicating whether the matching rule is marked
420
427
as OBSOLETE in the schema
421
428
applies
422
- This list of strings contains NAMEs or OIDs of attribute types
423
- for which this matching rule is used
429
+ NAMEs or OIDs of attribute types for which this matching rule is used
430
+ (tuple of strings)
424
431
"""
425
432
schema_attribute = u'matchingRuleUse'
426
433
token_defaults = {
@@ -458,26 +465,29 @@ class DITContentRule(SchemaElement):
458
465
oid
459
466
OID of the accompanying structural object class
460
467
names
461
- This list of strings contains all NAMEs of the DIT content rule
468
+ All NAMEs of the DIT content rule (tuple of strings)
462
469
desc
463
- This string contains description text (DESC) of the DIT content rule
470
+ Description text (DESC) of the DIT content rule
471
+ (string, or None if missing)
464
472
obsolete
465
473
Integer flag (0 or 1) indicating whether the DIT content rule is marked
466
474
as OBSOLETE in the schema
467
475
aux
468
- This list of strings contains NAMEs or OIDs of all auxiliary
469
- object classes usable in an entry of the object class
476
+ NAMEs or OIDs of all auxiliary object classes usable in an entry of the
477
+ object class (tuple of strings)
470
478
must
471
- This list of strings contains NAMEs or OIDs of all attributes
472
- an entry of the object class must have which may extend the
473
- list of required attributes of the object classes of an entry
479
+ NAMEs or OIDs of all attributes an entry of the object class must
480
+ have, which may extend the list of required attributes of the object
481
+ classes of an entry.
482
+ (tuple of strings)
474
483
may
475
- This list of strings contains NAMEs or OIDs of additional attributes
476
- an entry of the object class may have which may extend the
477
- list of optional attributes of the object classes of an entry
484
+ NAMEs or OIDs of additional attributes an entry of the object class may
485
+ have. which may extend the list of optional attributes of the object
486
+ classes of an entry.
487
+ (tuple of strings)
478
488
nots
479
- This list of strings contains NAMEs or OIDs of attributes which
480
- may not be present in an entry of the object class
489
+ NAMEs or OIDs of attributes which may not be present in an entry of the
490
+ object class. (tuple of strings)
481
491
"""
482
492
schema_attribute = u'dITContentRules'
483
493
token_defaults = {
@@ -524,17 +534,18 @@ class DITStructureRule(SchemaElement):
524
534
ruleid
525
535
rule ID of the DIT structure rule (only locally unique)
526
536
names
527
- This list of strings contains all NAMEs of the DIT structure rule
537
+ All NAMEs of the DIT structure rule (tuple of strings)
528
538
desc
529
- This string contains description text (DESC) of the DIT structure rule
539
+ Description text (DESC) of the DIT structure rule
540
+ (string, or None if missing)
530
541
obsolete
531
542
Integer flag (0 or 1) indicating whether the DIT content rule is marked
532
543
as OBSOLETE in the schema
533
544
form
534
- List of strings with NAMEs or OIDs of associated name forms
545
+ NAMEs or OIDs of associated name forms (tuple of strings)
535
546
sup
536
- List of strings with NAMEs or OIDs of allowed structural object classes
537
- of superior entries in the DIT
547
+ NAMEs or OIDs of allowed structural object classes
548
+ of superior entries in the DIT (tuple of strings)
538
549
"""
539
550
schema_attribute = u'dITStructureRules'
540
551
@@ -582,23 +593,22 @@ class NameForm(SchemaElement):
582
593
oid
583
594
OID of the name form
584
595
names
585
- This list of strings contains all NAMEs of the name form
596
+ All NAMEs of the name form (tuple of strings)
586
597
desc
587
- This string contains description text (DESC) of the name form
598
+ Description text (DESC) of the name form (string, or None if missing)
588
599
obsolete
589
600
Integer flag (0 or 1) indicating whether the name form is marked
590
601
as OBSOLETE in the schema
591
602
form
592
- List of strings with NAMEs or OIDs of associated name forms
603
+ NAMEs or OIDs of associated name forms (tuple of strings)
593
604
oc
594
- String with NAME or OID of structural object classes this name form
595
- is usable with
605
+ NAME or OID of structural object classes this name form
606
+ is usable with (string)
596
607
must
597
- This list of strings contains NAMEs or OIDs of all attributes
598
- an RDN must contain
608
+ NAMEs or OIDs of all attributes an RDN must contain (tuple of strings)
599
609
may
600
- This list of strings contains NAMEs or OIDs of additional attributes
601
- an RDN may contain
610
+ NAMEs or OIDs of additional attributes an RDN may contain
611
+ (tuple of strings)
602
612
"""
603
613
schema_attribute = u'nameForms'
604
614
token_defaults = {
0 commit comments