-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml.ldif
103 lines (102 loc) · 3.15 KB
/
html.ldif
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Schema ldif file for openldap.
#
# oid base is generated from uuid (25c06060-7858-409a-b0ef-40d8c84a0f39).
# More information: http://www.oid-info.com/get/2.25
#
# base: 2.25.50180311595351017867546291434764767033
dn: cn=html,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: html
## Macros (See: https://www.openldap.org/doc/admin24/schema.html)
olcObjectIdentifier: htmlLdapRoot 2.25.50180311595351017867546291434764767033
olcObjectIdentifier: htmlLdapAttributeType htmlLdapRoot:3
olcObjectIdentifier: htmlLdapAttributeTypeMeta htmlLdapAttributeType:1
olcObjectIdentifier: htmlLdapAttributeTypeAttribute htmlLdapAttributeType:2
olcObjectIdentifier: htmlLdapObjectClass htmlLdapRoot:4
## Meta attributes
olcAttributeTypes: ( htmlLdapAttributeTypeMeta:1
NAME 'htmlNthChild'
DESC 'Position of particles between children'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE
)
olcAttributeTypes: ( htmlLdapAttributeTypeMeta:2
NAME 'htmlTextValue'
DESC 'Text for HTML text token'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
olcAttributeTypes: ( htmlLdapAttributeTypeMeta:3
NAME 'htmlTagName'
DESC 'Tag name for html element'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
## Attributes for html element.
### Names MUST be formatted like "htmlAttr{AttrName}".
olcAttributeTypes: ( htmlLdapAttributeTypeAttribute:1
NAME 'htmlAttrClass'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
olcAttributeTypes: ( htmlLdapAttributeTypeAttribute:2
NAME 'htmlAttrLang'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
olcAttributeTypes: ( htmlLdapAttributeTypeAttribute:3
NAME 'htmlAttrHref'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
olcAttributeTypes: ( htmlLdapAttributeTypeAttribute:4
NAME 'htmlAttrSrc'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
olcAttributeTypes: ( htmlLdapAttributeTypeAttribute:5
NAME 'htmlAttrAlt'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
olcAttributeTypes: ( htmlLdapAttributeTypeAttribute:6
NAME 'htmlAttrWidth'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE
)
## Object classes
olcObjectClasses: ( htmlLdapObjectClass:1
NAME 'htmlFile'
DESC 'HTML file name'
SUP top
MUST ( o )
)
olcObjectClasses: ( htmlLdapObjectClass:2
NAME 'htmlParticle'
DESC 'Base abstract object class for text token and html element'
SUP top ABSTRACT
MAY ( htmlNthChild )
)
olcObjectClasses: ( htmlLdapObjectClass:3
NAME 'htmlElement'
DESC 'HTML element'
SUP htmlParticle ABSTRACT
MUST ( ou $ htmlTagName )
MAY ( htmlAttrClass $ htmlAttrLang $ htmlAttrHref $ htmlAttrSrc $ htmlAttrAlt $ htmlAttrWidth )
)
olcObjectClasses: ( htmlLdapObjectClass:4
NAME 'htmlVoidElement'
DESC 'HTML void element (like br)'
SUP htmlElement
)
olcObjectClasses: ( htmlLdapObjectClass:5
NAME 'htmlNormalElement'
DESC 'HTML normal element (includes templates, texarea, ...)'
SUP htmlElement
)
olcObjectClasses: ( htmlLdapObjectClass:6
NAME 'htmlText'
DESC 'Text token inside HTML element'
SUP htmlParticle
MUST ( cn $ htmlTextValue )
)