forked from Debian/ud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsummary.schema
183 lines (165 loc) · 6.07 KB
/
summary.schema
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# defined by nis.schema
attributetype ( 1.3.6.1.1.1.1.2 NAME 'gecos'
DESC 'The GECOS field; the common name'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE
)
# re-defined by ud.schema to support UTF-8
attributetype ( 1.3.6.1.4.1.9586.100.4.2.28 NAME 'gecos'
DESC 'The GECOS field; the common name'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
)
# defined by core.schema
objectclass ( 2.5.6.6 NAME 'person'
DESC 'RFC2256: a person'
SUP top STRUCTURAL
MUST ( sn $ cn )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description )
)
# defined by core.schema
objectclass ( 2.5.6.7 NAME 'organizationalPerson'
DESC 'RFC2256: an organizational person'
SUP person STRUCTURAL
MAY (
title $ x121Address $ registeredAddress $ destinationIndicator $
preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
street $ postOfficeBox $ postalCode $ postalAddress $
physicalDeliveryOfficeName $ ou $ st $ l
)
)
# defined by core.schema
objectclass ( 2.5.6.8 NAME 'organizationalRole'
DESC 'RFC2256: an organizational role'
SUP top STRUCTURAL
MUST cn
MAY (
x121Address $ registeredAddress $ destinationIndicator $
preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
seeAlso $ roleOccupant $ preferredDeliveryMethod $ street $
postOfficeBox $ postalCode $ postalAddress $
physicalDeliveryOfficeName $ ou $ st $ l $ description
)
)
# defined by nis.schema
objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount'
DESC 'Abstraction of an account with POSIX attributes'
SUP top AUXILIARY
MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
MAY ( userPassword $ loginShell $ gecos $ description )
)
# defined by nis.schema
objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount'
DESC 'Additional attributes for shadow passwords'
SUP top AUXILIARY
MUST uid
MAY (
userPassword $ shadowLastChange $ shadowMin $
shadowMax $ shadowWarning $ shadowInactive $
shadowExpire $ shadowFlag $ description
)
)
# defined by nis.schema
objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup'
DESC 'Abstraction of a group of accounts'
SUP top STRUCTURAL
MUST ( cn $ gidNumber )
MAY ( userPassword $ memberUid $ description )
)
# defined by core.schema
objectclass ( 2.16.840.1.113730.3.2.2 NAME 'inetOrgPerson'
DESC 'RFC2798: Internet Organizational Person'
SUP organizationalPerson STRUCTURAL
MAY (
audio $ businessCategory $ carLicense $ departmentNumber $
displayName $ employeeNumber $ employeeType $ givenName $
homePhone $ homePostalAddress $ initials $ jpegPhoto $
labeledURI $ mail $ manager $ mobile $ o $ pager $ photo $
roomNumber $ secretary $ uid $ userCertificate $
x500uniqueIdentifier $ preferredLanguage $
userSMIMECertificate $ userPKCS12
)
)
# defined by ud.schema
objectclass ( 1.3.6.1.4.1.9586.100.4.1.1 NAME 'debianAccount'
DESC 'Abstraction of an account with POSIX attributes and UTF8 support'
SUP top AUXILIARY
MUST ( cn $ uid $ uidNumber $ gidNumber )
MAY (
userPassword $ loginShell $ gecos $ homeDirectory $
description $ mailDisableMessage $ sudoPassword $
webPassword $ rtcPassword
)
)
# defined by ud.schema
objectclass ( 1.3.6.1.4.1.9586.100.4.1.2 NAME 'debianGroup'
SUP top STRUCTURAL
DESC 'attributes used for Debian groups'
MUST ( gid $ gidNumber)
MAY ( description $ subGroup $ accountStatus )
)
# defined by ud.schema
objectclass ( 1.3.6.1.4.1.9586.100.4.3.1 NAME 'debianDeveloper'
DESC 'additional account attributes used by Debian'
SUP top AUXILIARY
MUST ( uid $ cn $ sn )
MAY (
accountComment $ accountStatus $ activity-from $ activity-pgp $
allowedHost $ comment $ countryName $ dnsZoneEntry $ emailForward $
icqUin $ ircNick $ jabberJID $ keyFingerPrint $ latitude $ longitude $
mn $ onVacation $ privateSub $ sshRSAAuthKey $ supplementaryGid $
access $ gender $ birthDate $ mailCallout $ mailGreylisting $ mailRBL $
mailRHSBL $ mailWhitelist $ VoIP $ mailContentInspectionAction $
bATVToken $ mailDefaultOptions
)
)
# defined by ud.schema
objectclass ( 1.3.6.1.4.1.9586.100.4.3.2 NAME 'debianServer'
DESC 'Internet-connected server associated with Debian'
SUP top STRUCTURAL
MUST ( host $ hostname )
MAY (
c $ access $ admin $ architecture $ bandwidth $ description $
disk $ distribution $ l $ machine $ memory $ sponsor $
sponsor-admin $ status $ physicalHost $ ipHostNumber $ dnsTTL $
sshRSAHostKey $ purpose $ allowedGroups $ exportOptions $
MXRecord $ sshdistAuthKeysHost
)
)
# defined by ud.schema
objectclass ( 1.3.6.1.4.1.9586.100.4.3.3 NAME 'debianRoleAccount'
DESC 'Abstraction of an account with POSIX attributes and UTF8 support'
SUP account STRUCTURAL
MAY (
emailForward $ supplementaryGid $ allowedHost $ labeledURI $
mailCallout $ mailGreylisting $ mailRBL $ mailRHSBL $
mailWhitelist $ dnsZoneEntry $ mailContentInspectionAction $
bATVToken $ mailDefaultOptions
)
)
# debianDeveloper
# dn: uid=<uid>,ou=users,dc=debian,dc=org
# objectClass: top
# objectClass: inetOrgPerson
# objectClass: debianAccount
# objectClass: shadowAccount
# objectClass: debianDeveloper
# debianRoleAccount
# dn: uid=<uid>,ou=users,dc=debian,dc=org
# objectClass: top
# objectClass: debianAccount
# objectClass: shadowAccount
# objectClass: debianRoleAccount
# debianGroup
# dn: gid=<gid>,ou=users,dc=debian,dc=org
# objectClass: top
# objectClass: debianGroup
# debianHost
# dn: host=<host>,ou=hosts,dc=debian,dc=org
# objectClass: top
# objectClass: debianServer
# vim: set ft=slapd ts=4 sw=4 et sm ai si fdm=indent: