d42795b94dca9129311dee573fe222348888eeac
[kai/samba.git] / source4 / setup / schema_samba4.ldif
1 #
2 # Schema elements which do not exist in AD, but which we use in Samba4
3 #
4 ## Samba4 OID allocation from Samba3's examples/LDAP/samba.schema
5 ## 1.3.6.1.4.1.7165.4.1.x - attributetypes
6
7 ## 1.3.6.1.4.1.7165.4.2.x - objectclasses
8
9 ## 1.3.6.1.4.1.7165.4.3.x - LDB/LDAP Controls
10 ### see dsdb/samdb/samdb.h
11
12 ## 1.3.6.1.4.1.7165.4.4.x - LDB/LDAP Extended Operations
13 ### see dsdb/samdb/samdb.h
14
15 ## 1.3.6.1.4.1.7165.4.255.x - mapped OIDs due to conflicts between AD and standards-track
16 #
17 #
18
19
20 #
21 # Not used anymore
22 #
23 #dn: cn=ntpwdHash,${SCHEMADN}
24 #cn: ntpwdHash
25 #name: NTPWDHash
26 #objectClass: top
27 #objectClass: attributeSchema
28 #lDAPDisplayName: ntpwdhash
29 #isSingleValued: TRUE
30 #systemFlags: 17
31 #systemOnly: TRUE
32 #schemaIDGUID: E961130F-5084-458C-9E9C-DEC16DA08592
33 #adminDisplayName: NT-PWD-Hash
34 #attributeID: 1.3.6.1.4.1.7165.4.1.1
35 #attributeSyntax: 2.5.5.10
36 #oMSyntax: 4
37
38 #
39 # Not used anymore
40 #
41 #dn: cn=lmpwdHash,${SCHEMADN}
42 #cn: lmpwdHash
43 #name: lmpwdHash
44 #objectClass: top
45 #objectClass: attributeSchema
46 #lDAPDisplayName: lmpwdhash
47 #isSingleValued: TRUE
48 #systemFlags: 17
49 #systemOnly: TRUE
50 #schemaIDGUID: CBD0D18C-9C54-4A77-87C4-5CEEAF781253
51 #adminDisplayName: LM-PWD-Hash
52 #attributeID: 1.3.6.1.4.1.7165.4.1.2
53 #attributeSyntax: 2.5.5.10
54 #oMSyntax: 4
55
56 #
57 # Not used anymore
58 #
59 #dn: cn=sambaNtPwdHistory,${SCHEMADN}
60 #cn: sambaNtPwdHistory
61 #name: sambaNtPwdHistory
62 #objectClass: top
63 #objectClass: attributeSchema
64 #lDAPDisplayName: sambaNtPwdHistory
65 #isSingleValued: TRUE
66 #systemFlags: 17
67 #systemOnly: TRUE
68 #schemaIDGUID: 8CCD7658-C574-4435-A38C-99572E349E6B
69 #adminDisplayName: SAMBA-NT-PWD-History
70 #attributeID: 1.3.6.1.4.1.7165.4.1.3
71 #attributeSyntax: 2.5.5.10
72 #oMSyntax: 4
73
74 #
75 # Not used anymore
76 #
77 #dn: cn=sambaLmPwdHistory,${SCHEMADN}
78 #cn: sambaLmPwdHistory
79 #name: sambaLmPwdHistory
80 #objectClass: top
81 #objectClass: attributeSchema
82 #lDAPDisplayName: sambaLmPwdHistory
83 #isSingleValued: FALSE
84 #systemFlags: 17
85 #systemOnly: TRUE
86 #schemaIDGUID: 0EAFE3DD-0F53-495E-8A34-97BB28AF17A4
87 #adminDisplayName: SAMBA-LM-PWDHistory
88 #attributeID: 1.3.6.1.4.1.7165.4.1.4
89 #attributeSyntax: 2.5.5.10
90 #oMSyntax: 4
91
92 #
93 # Not used anymore
94 #
95 #dn: CN=sambaPassword,${SCHEMADN}
96 #objectClass: top
97 #objectClass: attributeSchema
98 #lDAPDisplayName: sambaPassword
99 #isSingleValued: FALSE
100 #systemFlags: 17
101 #systemOnly: TRUE
102 #schemaIDGUID: 87F10301-229A-4E69-B63A-998339ADA37A
103 #adminDisplayName: SAMBA-Password
104 #attributeID: 1.3.6.1.4.1.7165.4.1.5
105 #attributeSyntax: 2.5.5.5
106 #oMSyntax: 22
107
108 #
109 # Not used anymore
110 #
111 #dn: cn=dnsDomain,${SCHEMADN}
112 #objectClass: top
113 #objectClass: attributeSchema
114 #lDAPDisplayName: dnsDomain
115 #isSingleValued: FALSE
116 #systemFlags: 17
117 #systemOnly: TRUE
118 #schemaIDGUID: A40165E6-5E45-44A7-A8FA-186C94333018
119 #adminDisplayName: DNS-Domain
120 #attributeID: 1.3.6.1.4.1.7165.4.1.6
121 #attributeSyntax: 2.5.5.4
122 #oMSyntax: 20
123
124 dn: cn=privilege,${SCHEMADN}
125 objectClass: top
126 objectClass: attributeSchema
127 lDAPDisplayName: privilege
128 isSingleValued: FALSE
129 systemFlags: 17
130 systemOnly: TRUE
131 schemaIDGUID: 7429BC94-CC6A-4481-8B2C-A97E316EB182
132 adminDisplayName: Privilege
133 attributeID: 1.3.6.1.4.1.7165.4.1.7
134 attributeSyntax: 2.5.5.4
135 oMSyntax: 20
136
137 #
138 # Not used anymore
139 #
140 #dn: CN=unixName,${SCHEMADN}
141 #cn: unixName
142 #name: unixName
143 #objectClass: top
144 #objectClass: attributeSchema
145 #lDAPDisplayName: unixName
146 #isSingleValued: TRUE
147 #systemFlags: 16
148 #systemOnly: FALSE
149 #schemaIDGUID: bf9679f2-0de6-11d0-a285-00aa003049e2
150 #adminDisplayName: Unix-Name
151 #attributeID: 1.3.6.1.4.1.7165.4.1.9
152 #attributeSyntax: 2.5.5.4
153 #oMSyntax: 20
154
155 #
156 # Not used anymore
157 #
158 #dn: cn=krb5Key,${SCHEMADN}
159 #cn: krb5Key
160 #name: krb5Key
161 #objectClass: top
162 #objectClass: attributeSchema
163 #lDAPDisplayName: krb5Key
164 #isSingleValued: FALSE
165 #systemFlags: 17
166 #systemOnly: TRUE
167 #schemaIDGUID: 0EAFE3DD-0F53-495E-8A34-97BB28AF17A4
168 #adminDisplayName: krb5-Key
169 #attributeID: 1.3.6.1.4.1.5322.10.1.10
170 #attributeSyntax: 2.5.5.10
171 #oMSyntax: 4
172
173 #Allocated: (not used anymore) DSDB_CONTROL_REPLICATED_OBJECT_OID 1.3.6.1.4.1.7165.4.3.1
174
175 #Allocated: DSDB_CONTROL_CURRENT_PARTITION_OID 1.3.6.1.4.1.7165.4.3.2
176
177 #Allocated: DSDB_CONTROL_REPLICATED_UPDATE_OID 1.3.6.1.4.1.7165.4.3.3
178
179 #Allocated: DSDB_EXTENDED_REPLICATED_OBJECTS_OID 1.3.6.1.4.1.7165.4.4.1
180 #Allocated: DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID 1.3.6.1.4.1.7165.4.4.2
181 #Allocated: LDB_EXTENDED_SEQUENCE_NUMBER 1.3.6.1.4.1.7165.4.4.3
182
183 #Allocated: (middleName) attributeID: 1.3.6.1.4.1.7165.4.255.1
184
185 #Allocated: (defaultGroup) attributeID: 1.3.6.1.4.1.7165.4.255.2
186
187 #Allocated: (modifyTimestamp) samba4ModifyTimestamp: 1.3.6.1.4.1.7165.4.255.3
188 #Allocated: (subSchema) samba4SubSchema: 1.3.6.1.4.1.7165.4.255.4
189 #Allocated: (objectClasses) samba4ObjectClasses: 1.3.6.1.4.1.7165.4.255.5
190 #Allocated: (ditContentRules) samba4DitContentRules: 1.3.6.1.4.1.7165.4.255.6
191 #Allocated: (attributeTypes) samba4AttributeTypes: 1.3.6.1.4.1.7165.4.255.7
192
193 #
194 # Fedora DS uses this attribute, and we need to set it via our module stack
195 #
196 dn: CN=aci,${SCHEMADN}
197 cn: aci
198 name: aci
199 objectClass: top
200 objectClass: attributeSchema
201 lDAPDisplayName: aci
202 isSingleValued: TRUE
203 systemFlags: 16
204 systemOnly: FALSE
205 schemaIDGUID: d8e6c1fa-db08-4f26-a53b-23c414aac92d
206 adminDisplayName: aci
207 attributeID: 1.3.6.1.4.1.7165.4.1.11
208 attributeSyntax: 2.5.5.4
209 oMSyntax: 20
210
211 #
212 # Based on domainDNS, but without the DNS bits.
213 #
214
215 dn: CN=Samba4-Local-Domain,${SCHEMADN}
216 objectClass: top
217 objectClass: classSchema
218 subClassOf: top
219 governsID: 1.3.6.1.4.1.7165.4.2.2
220 possibleInferiors: group
221 possibleInferiors: lostAndFound
222 possibleInferiors: builtinDomain
223 possibleInferiors: computer
224 possibleInferiors: user
225 possibleInferiors: container
226 possibleInferiors: groupPolicyContainer
227 possibleInferiors: organization
228 possibleInferiors: domainDNS
229 possibleInferiors: locality
230 possibleInferiors: msDS-AzAdminManager
231 possibleInferiors: country
232 possibleInferiors: organizationalUnit
233 rDNAttID: cn
234 showInAdvancedViewOnly: TRUE
235 adminDisplayName: Samba4-Local-Domain
236 adminDescription: Samba4-Local-Domain
237 systemMayContain: msDS-Behavior-Version
238 systemMayContain: managedBy
239 objectClassCategory: 1
240 lDAPDisplayName: samba4LocalDomain
241 schemaIDGUID: 07be1647-8310-4fba-91ae-34e55d5a8293
242 systemOnly: FALSE
243 systemAuxiliaryClass: samDomain
244 defaultSecurityDescriptor: D:(A;;RPLCLORC;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
245 systemFlags: 16
246 defaultHidingValue: TRUE
247 defaultObjectCategory: CN=Samba4-Local-Domain,${SCHEMADN}
248
249
250 dn: CN=Samba4Top,${SCHEMADN}
251 objectClass: top
252 objectClass: classSchema
253 subClassOf: top
254 governsID: 1.3.6.1.4.1.7165.4.2.1
255 mayContain: msDS-ObjectReferenceBL
256 rDNAttID: cn
257 showInAdvancedViewOnly: TRUE
258 adminDisplayName: Samba4TopTop
259 adminDescription: Attributes used in top in Samba4 that OpenLDAP does not
260 objectClassCategory: 3
261 lDAPDisplayName: samba4Top
262 schemaIDGUID: 073598d0-635b-4685-a929-da731b98d84e
263 systemOnly: TRUE
264 systemPossSuperiors: lostAndFound
265 systemMayContain: url
266 systemMayContain: wWWHomePage
267 systemMayContain: wellKnownObjects
268 systemMayContain: wbemPath
269 systemMayContain: uSNSource
270 systemMayContain: uSNLastObjRem
271 systemMayContain: USNIntersite
272 systemMayContain: uSNDSALastObjRemoved
273 systemMayContain: systemFlags
274 systemMayContain: subRefs
275 systemMayContain: siteObjectBL
276 systemMayContain: serverReferenceBL
277 systemMayContain: sDRightsEffective
278 systemMayContain: revision
279 systemMayContain: repsTo
280 systemMayContain: repsFrom
281 systemMayContain: directReports
282 systemMayContain: replUpToDateVector
283 systemMayContain: replPropertyMetaData
284 systemMayContain: name
285 systemMayContain: queryPolicyBL
286 systemMayContain: proxyAddresses
287 systemMayContain: proxiedObjectName
288 systemMayContain: possibleInferiors
289 systemMayContain: partialAttributeSet
290 systemMayContain: partialAttributeDeletionList
291 systemMayContain: otherWellKnownObjects
292 systemMayContain: objectVersion
293 systemMayContain: nonSecurityMemberBL
294 systemMayContain: netbootSCPBL
295 systemMayContain: ownerBL
296 systemMayContain: msDS-ReplValueMetaData
297 systemMayContain: msDS-ReplAttributeMetaData
298 systemMayContain: msDS-NonMembersBL
299 systemMayContain: msDS-NCReplOutboundNeighbors
300 systemMayContain: msDS-NCReplInboundNeighbors
301 systemMayContain: msDS-NCReplCursors
302 systemMayContain: msDS-TasksForAzRoleBL
303 systemMayContain: msDS-TasksForAzTaskBL
304 systemMayContain: msDS-OperationsForAzRoleBL
305 systemMayContain: msDS-OperationsForAzTaskBL
306 systemMayContain: msDS-MembersForAzRoleBL
307 systemMayContain: msDs-masteredBy
308 systemMayContain: mS-DS-ConsistencyGuid
309 systemMayContain: mS-DS-ConsistencyChildCount
310 systemMayContain: msDS-Approx-Immed-Subordinates
311 systemMayContain: msCOM-PartitionSetLink
312 systemMayContain: msCOM-UserLink
313 systemMayContain: masteredBy
314 systemMayContain: managedObjects
315 systemMayContain: lastKnownParent
316 systemMayContain: isPrivilegeHolder
317 systemMayContain: isDeleted
318 systemMayContain: isCriticalSystemObject
319 systemMayContain: showInAdvancedViewOnly
320 systemMayContain: fSMORoleOwner
321 systemMayContain: fRSMemberReferenceBL
322 systemMayContain: frsComputerReferenceBL
323 systemMayContain: fromEntry
324 systemMayContain: flags
325 systemMayContain: extensionName
326 systemMayContain: dSASignature
327 systemMayContain: dSCorePropagationData
328 systemMayContain: displayNamePrintable
329 systemMayContain: displayName
330 systemMayContain: description
331 systemMayContain: cn
332 systemMayContain: canonicalName
333 systemMayContain: bridgeheadServerListBL
334 systemMayContain: allowedChildClassesEffective
335 systemMayContain: allowedChildClasses
336 systemMayContain: allowedAttributesEffective
337 systemMayContain: allowedAttributes
338 systemMayContain: adminDisplayName
339 systemMayContain: adminDescription
340 systemMustContain: objectCategory
341 systemMustContain: nTSecurityDescriptor
342 systemMustContain: instanceType
343 systemAuxiliaryClass: samba4TopExtra
344 defaultSecurityDescriptor: D:(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
345 systemFlags: 16
346 defaultHidingValue: TRUE
347 objectCategory: CN=Class-Schema,${SCHEMADN}
348 defaultObjectCategory: CN=Samba4Top,${SCHEMADN}
349
350
351 dn: CN=Samba4TopExtra,${SCHEMADN}
352 objectClass: top
353 objectClass: classSchema
354 subClassOf: top
355 governsID: 1.3.6.1.4.1.7165.4.2.3
356 rDNAttID: cn
357 showInAdvancedViewOnly: TRUE
358 adminDisplayName: Samba4TopExtra
359 adminDescription: Attributes used in top in Samba4 that OpenLDAP does not
360 objectClassCategory: 2
361 lDAPDisplayName: samba4TopExtra
362 schemaIDGUID: 073598d0-635b-4685-a929-da731b98d84e
363 systemOnly: TRUE
364 mayContain: privilege
365 systemPossSuperiors: lostAndFound
366 defaultSecurityDescriptor: D:(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
367 systemFlags: 16
368 defaultHidingValue: TRUE
369 objectCategory: CN=Class-Schema,${SCHEMADN}
370 defaultObjectCategory: CN=Samba4TopExtra,${SCHEMADN}
371