d3a1f1c9ad70cf90c10839d1d83a88669fe7f33d
[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.5.x - ldap extended matches
16
17 ## 1.3.6.1.4.1.7165.4.6.1.x - SELFTEST random attributes
18 ## 1.3.6.1.4.1.7165.4.6.1.1.x - ldap_syntaxes.py
19 ## 1.3.6.1.4.1.7165.4.6.1.2.x - ldap_syntaxes.py
20 ## 1.3.6.1.4.1.7165.4.6.1.4.x - urgent_replication.py
21 ## 1.3.6.1.4.1.7165.4.6.1.5.x - repl_schema.py
22 ## 1.3.6.1.4.1.7165.4.6.1.6.x - ldap_schema.py
23 ## 1.3.6.1.4.1.7165.4.6.1.7.x - dsdb_schema_info.py
24 ## 1.3.6.1.4.1.7165.4.6.1.8.x - dsdb_schema_attributes.py
25
26 ## 1.3.6.1.4.1.7165.4.6.2.x - SELFTEST random classes
27 ## 1.3.6.1.4.1.7165.4.6.2.1.x - ldap_syntaxes.py
28 ## 1.3.6.1.4.1.7165.4.6.2.2.x - ldap_syntaxes.py
29 ## 1.3.6.1.4.1.7165.4.6.2.3.x - sec_descriptor.py
30 ## 1.3.6.1.4.1.7165.4.6.2.4.x - urgent_replication.py
31 ## 1.3.6.1.4.1.7165.4.6.2.5.x - repl_schema.py
32 ## 1.3.6.1.4.1.7165.4.6.2.6.x - ldap_schema.py
33 ## 1.3.6.1.4.1.7165.4.6.2.7.x - dsdb_schema_info.py
34 ## 1.3.6.1.4.1.7165.4.6.2.8.x - getnc_schema.py
35 ## 1.3.6.1.4.1.7165.4.6.2.9.x - sid_strings.py
36
37 ## 1.3.6.1.4.1.7165.4.255.x - mapped OIDs due to conflicts between AD and standards-track
38 #
39 #
40
41
42 #
43 # Not used anymore
44 #
45 #dn: cn=ntpwdHash,${SCHEMADN}
46 #cn: ntpwdHash
47 #name: NTPWDHash
48 #objectClass: top
49 #objectClass: attributeSchema
50 #lDAPDisplayName: ntpwdhash
51 #isSingleValued: TRUE
52 #systemFlags: 17
53 #systemOnly: TRUE
54 #schemaIDGUID: E961130F-5084-458C-9E9C-DEC16DA08592
55 #adminDisplayName: NT-PWD-Hash
56 #attributeID: 1.3.6.1.4.1.7165.4.1.1
57 #attributeSyntax: 2.5.5.10
58 #oMSyntax: 4
59
60 #
61 # Not used anymore
62 #
63 #dn: cn=lmpwdHash,${SCHEMADN}
64 #cn: lmpwdHash
65 #name: lmpwdHash
66 #objectClass: top
67 #objectClass: attributeSchema
68 #lDAPDisplayName: lmpwdhash
69 #isSingleValued: TRUE
70 #systemFlags: 17
71 #systemOnly: TRUE
72 #schemaIDGUID: CBD0D18C-9C54-4A77-87C4-5CEEAF781253
73 #adminDisplayName: LM-PWD-Hash
74 #attributeID: 1.3.6.1.4.1.7165.4.1.2
75 #attributeSyntax: 2.5.5.10
76 #oMSyntax: 4
77
78 #
79 # Not used anymore
80 #
81 #dn: cn=sambaNtPwdHistory,${SCHEMADN}
82 #cn: sambaNtPwdHistory
83 #name: sambaNtPwdHistory
84 #objectClass: top
85 #objectClass: attributeSchema
86 #lDAPDisplayName: sambaNtPwdHistory
87 #isSingleValued: TRUE
88 #systemFlags: 17
89 #systemOnly: TRUE
90 #schemaIDGUID: 8CCD7658-C574-4435-A38C-99572E349E6B
91 #adminDisplayName: SAMBA-NT-PWD-History
92 #attributeID: 1.3.6.1.4.1.7165.4.1.3
93 #attributeSyntax: 2.5.5.10
94 #oMSyntax: 4
95
96 #
97 # Not used anymore
98 #
99 #dn: cn=sambaLmPwdHistory,${SCHEMADN}
100 #cn: sambaLmPwdHistory
101 #name: sambaLmPwdHistory
102 #objectClass: top
103 #objectClass: attributeSchema
104 #lDAPDisplayName: sambaLmPwdHistory
105 #isSingleValued: FALSE
106 #systemFlags: 17
107 #systemOnly: TRUE
108 #schemaIDGUID: 0EAFE3DD-0F53-495E-8A34-97BB28AF17A4
109 #adminDisplayName: SAMBA-LM-PWDHistory
110 #attributeID: 1.3.6.1.4.1.7165.4.1.4
111 #attributeSyntax: 2.5.5.10
112 #oMSyntax: 4
113
114 #
115 # Not used anymore
116 #
117 #dn: CN=sambaPassword,${SCHEMADN}
118 #objectClass: top
119 #objectClass: attributeSchema
120 #lDAPDisplayName: sambaPassword
121 #isSingleValued: FALSE
122 #systemFlags: 17
123 #systemOnly: TRUE
124 #schemaIDGUID: 87F10301-229A-4E69-B63A-998339ADA37A
125 #adminDisplayName: SAMBA-Password
126 #attributeID: 1.3.6.1.4.1.7165.4.1.5
127 #attributeSyntax: 2.5.5.5
128 #oMSyntax: 22
129
130 #
131 # Not used anymore
132 #
133 #dn: cn=dnsDomain,${SCHEMADN}
134 #objectClass: top
135 #objectClass: attributeSchema
136 #lDAPDisplayName: dnsDomain
137 #isSingleValued: FALSE
138 #systemFlags: 17
139 #systemOnly: TRUE
140 #schemaIDGUID: A40165E6-5E45-44A7-A8FA-186C94333018
141 #adminDisplayName: DNS-Domain
142 #attributeID: 1.3.6.1.4.1.7165.4.1.6
143 #attributeSyntax: 2.5.5.4
144 #oMSyntax: 20
145
146 # not used anymore
147 #dn: cn=privilege,${SCHEMADN}
148 #objectClass: top
149 #objectClass: attributeSchema
150 #cn: privilege
151 #lDAPDisplayName: privilege
152 #isSingleValued: FALSE
153 #systemFlags: 17
154 #systemOnly: TRUE
155 #schemaIDGUID: 7429BC94-CC6A-4481-8B2C-A97E316EB182
156 #adminDisplayName: Privilege
157 #attributeID: 1.3.6.1.4.1.7165.4.1.7
158 #attributeSyntax: 2.5.5.4
159 #oMSyntax: 20
160
161 #
162 # Not used anymore
163 #
164 #dn: CN=unixName,${SCHEMADN}
165 #cn: unixName
166 #name: unixName
167 #objectClass: top
168 #objectClass: attributeSchema
169 #lDAPDisplayName: unixName
170 #isSingleValued: TRUE
171 #systemFlags: 16
172 #systemOnly: FALSE
173 #schemaIDGUID: bf9679f2-0de6-11d0-a285-00aa003049e2
174 #adminDisplayName: Unix-Name
175 #attributeID: 1.3.6.1.4.1.7165.4.1.9
176 #attributeSyntax: 2.5.5.4
177 #oMSyntax: 20
178
179 #
180 # Not used anymore
181 #
182 #dn: cn=krb5Key,${SCHEMADN}
183 #cn: krb5Key
184 #name: krb5Key
185 #objectClass: top
186 #objectClass: attributeSchema
187 #lDAPDisplayName: krb5Key
188 #isSingleValued: FALSE
189 #systemFlags: 17
190 #systemOnly: TRUE
191 #schemaIDGUID: 0EAFE3DD-0F53-495E-8A34-97BB28AF17A4
192 #adminDisplayName: krb5-Key
193 #attributeID: 1.3.6.1.4.1.5322.10.1.10
194 #attributeSyntax: 2.5.5.10
195 #oMSyntax: 4
196
197 # Controls 1.3.6.1.4.1.7165.4.3.x
198 #Allocated: (not used anymore) DSDB_CONTROL_REPLICATED_OBJECT_OID 1.3.6.1.4.1.7165.4.3.1
199 #Allocated: DSDB_CONTROL_CURRENT_PARTITION_OID 1.3.6.1.4.1.7165.4.3.2
200 #Allocated: DSDB_CONTROL_REPLICATED_UPDATE_OID 1.3.6.1.4.1.7165.4.3.3
201 #Allocated: DSDB_CONTROL_DN_STORAGE_FORMAT_OID 1.3.6.1.4.1.7165.4.3.4
202 #Allocated: LDB_CONTROL_RECALCULATE_SD_OID 1.3.6.1.4.1.7165.4.3.5
203 #Allocated: LDB_CONTROL_REVEAL_INTERNALS 1.3.6.1.4.1.7165.4.3.6
204 #Allocated: LDB_CONTROL_AS_SYSTEM_OID 1.3.6.1.4.1.7165.4.3.7
205 #Allocated: DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID 1.3.6.1.4.1.7165.4.3.8
206 #Allocated: DSDB_CONTROL_PASSWORD_HASH_VALUES_OID 1.3.6.1.4.1.7165.4.3.9
207 #Allocated: DSDB_CONTROL_PASSWORD_CHANGE_OID 1.3.6.1.4.1.7165.4.3.10
208 #Allocated: DSDB_CONTROL_APPLY_LINKS 1.3.6.1.4.1.7165.4.3.11
209 #Allocated: DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID 1.3.6.1.4.1.7165.4.3.12
210 #Allocated: LDB_CONTROL_BYPASS_OPERATIONAL_OID 1.3.6.1.4.1.7165.4.3.13
211 #Allocated: DSDB_CONTROL_CHANGEREPLMETADATA_OID 1.3.6.1.4.1.7165.4.3.14
212 #Allocated: (not used anymore) DSDB_CONTROL_SEARCH_APPLY_ACCESS 1.3.6.1.4.1.7165.4.3.15
213 #Allocated: LDB_CONTROL_PROVISION_OID 1.3.6.1.4.1.7165.4.3.16
214 #Allocated: DSDB_CONTROL_NO_GLOBAL_CATALOG 1.3.6.1.4.1.7165.4.3.17
215 #Allocated: DSDB_CONTROL_PARTIAL_REPLICA 1.3.6.1.4.1.7165.4.3.18
216 #Allocated: DSDB_CONTROL_DBCHECK 1.3.6.1.4.1.7165.4.3.19
217 #Allocated: DSDB_CONTROL_DBCHECK_MODIFY_RO_REPLICA 1.3.6.1.4.1.7165.4.3.19.1
218 #Allocated: DSDB_CONTROL_DBCHECK_FIX_DUPLICATE_LINKS 1.3.6.1.4.1.7165.4.3.19.2
219 #Allocated: DSDB_CONTROL_DBCHECK_FIX_LINK_DN_NAME 1.3.6.1.4.1.7165.4.3.19.3
220 #Allocated: DSDB_CONTROL_DBCHECK_FIX_LINK_DN_SID 1.3.6.1.4.1.7165.4.3.19.4
221 #Allocated: DSDB_CONTROL_PASSWORD_BYPASS_LAST_SET_OID 1.3.6.1.4.1.7165.4.3.20
222 #Allocated: DSDB_CONTROL_SEC_DESC_PROPAGATION_OID 1.3.6.1.4.1.7165.4.3.21
223 #Allocated: DSDB_CONTROL_PERMIT_INTERDOMAIN_TRUST_UAC_OID 1.3.6.1.4.1.7165.4.3.23
224 #Allocated: DSDB_CONTROL_RESTORE_TOMBSTONE_OID 1.3.6.1.4.1.7165.4.3.24
225 #Allocated: DSDB_CONTROL_CHANGEREPLMETADATA_RESORT_OID 1.3.6.1.4.1.7165.4.3.25
226 #Allocated: DSDB_CONTROL_PASSWORD_DEFAULT_LAST_SET_OID 1.3.6.1.4.1.7165.4.3.26
227 #Allocated: DSDB_CONTROL_PASSWORD_USER_ACCOUNT_CONTROL_OID 1.3.6.1.4.1.7165.4.3.27
228 #Allocated: DSDB_CONTROL_SKIP_DUPLICATES_CHECK_OID 1.3.6.1.4.1.7165.4.3.28
229 #Allocated: DSDB_CONTROL_REPLMD_VANISH_LINKS 1.3.6.1.4.1.7165.4.3.29
230 #Allocated: LDB_CONTROL_RECALCULATE_RDN_OID 1.3.6.1.4.1.7165.4.3.30
231 #Allocated: DSDB_CONTROL_FORCE_RODC_LOCAL_CHANGE 1.3.6.1.4.1.7165.4.3.31
232 #Allocated: DSDB_CONTROL_INVALID_NOT_IMPLEMENTED 1.3.6.1.4.1.7165.4.3.32
233 #Allocated: DSDB_CONTROL_PASSWORD_ACL_VALIDATION_OID 1.3.6.1.4.1.7165.4.3.33
234 #Allocated: DSDB_CONTROL_TRANSACTION_IDENTIFIER_OID 1.3.6.1.4.1.7165.4.3.34
235 #Allocated: DSDB_CONTROL_FORCE_ALLOW_VALIDATED_DNS_HOSTNAME_SPN_WRITE_OID 1.3.6.1.4.1.7165.4.3.35
236
237
238 # Extended 1.3.6.1.4.1.7165.4.4.x
239 #Allocated: DSDB_EXTENDED_REPLICATED_OBJECTS_OID 1.3.6.1.4.1.7165.4.4.1
240 #Allocated: DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID 1.3.6.1.4.1.7165.4.4.2
241 #Allocated: LDB_EXTENDED_SEQUENCE_NUMBER 1.3.6.1.4.1.7165.4.4.3
242 #Allocated: DSDB_EXTENDED_CREATE_PARTITION_OID 1.3.6.1.4.1.7165.4.4.4
243 #Allocated: DSDB_EXTENDED_ALLOCATE_RID_POOL 1.3.6.1.4.1.7165.4.4.5
244 #Allocated: DSDB_EXTENDED_SCHEMA_UPGRADE_IN_PROGRESS_OID 1.3.6.1.4.1.7165.4.4.6
245 #Allocated: DSDB_EXTENDED_SEC_DESC_PROPAGATION_OID 1.3.6.1.4.1.7165.4.4.7
246 #Allocated: DSDB_EXTENDED_CREATE_OWN_RID_SET 1.3.6.1.4.1.7165.4.4.8
247 #Allocated: DSDB_EXTENDED_ALLOCATE_RID 1.3.6.1.4.1.7165.4.4.9
248 #Allocated: DSDB_EXTENDED_SCHEMA_LOAD 1.3.6.1.4.1.7165.4.4.10
249
250
251 ############
252 # ldap extended matches
253 #Allocated: SAMBA_LDAP_MATCH_ALWAYS_FALSE 1.3.6.1.4.1.7165.4.5.1
254 #Allocated: DSDB_MATCH_FOR_EXPUNGE 1.3.6.1.4.1.7165.4.5.2
255 #Allocated: DSDB_MATCH_FOR_DNS_TO_TOMBSTONE_TIME 1.3.6.1.4.1.7165.4.5.3
256
257
258 #Allocated: (middleName) attributeID: 1.3.6.1.4.1.7165.4.255.1
259
260 #Allocated: (defaultGroup) attributeID: 1.3.6.1.4.1.7165.4.255.2
261
262 #Allocated: (modifyTimestamp) samba4ModifyTimestamp: 1.3.6.1.4.1.7165.4.255.3
263 #Allocated: (subSchema) samba4SubSchema: 1.3.6.1.4.1.7165.4.255.4
264 #Allocated: (objectClasses) samba4ObjectClasses: 1.3.6.1.4.1.7165.4.255.5
265 #Allocated: (ditContentRules) samba4DitContentRules: 1.3.6.1.4.1.7165.4.255.6
266 #Allocated: (attributeTypes) samba4AttributeTypes: 1.3.6.1.4.1.7165.4.255.7
267 #Allocated: (dynamicObject) samba4DynamicObject: 1.3.6.1.4.1.7165.4.255.8
268 #Allocated: (entryTTL) samba4EntryTTL: 1.3.6.1.4.1.7165.4.255.9
269
270 #Allocated: (thumbnailPhoto) attributeID: 1.3.6.1.4.1.7165.4.255.10
271 #Allocated: (thumbnailLogo) attributeID: 1.3.6.1.4.1.7165.4.255.11
272
273 #
274 # Based on domainDNS, but without the DNS bits.
275 #
276
277 #
278 # Not used anymore
279 #
280 #dn: CN=Samba4-Local-Domain,${SCHEMADN}
281 #objectClass: top
282 #objectClass: classSchema
283 #cn: Samba4-Local-Domain
284 #subClassOf: top
285 #governsID: 1.3.6.1.4.1.7165.4.2.2
286 #rDNAttID: cn
287 #adminDisplayName: Samba4-Local-Domain
288 #adminDescription: Samba4-Local-Domain
289 #systemMayContain: msDS-Behavior-Version
290 #systemMayContain: managedBy
291 #objectClassCategory: 1
292 #lDAPDisplayName: samba4LocalDomain
293 #schemaIDGUID: 07be1647-8310-4fba-91ae-34e55d5a8293
294 #systemOnly: FALSE
295 #systemAuxiliaryClass: samDomain
296 #defaultSecurityDescriptor: D:(A;;RPLCLORC;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
297 #systemFlags: 16
298 #defaultHidingValue: TRUE
299 #defaultObjectCategory: CN=Samba4-Local-Domain,${SCHEMADN}
300
301
302 dn: CN=Samba4Top,${SCHEMADN}
303 objectClass: top
304 objectClass: classSchema
305 cn: Samba4Top
306 subClassOf: top
307 objectGUID: 4af54ff0-ff3c-4f17-8fb0-611ec83ddfb4
308 governsID: 1.3.6.1.4.1.7165.4.2.1
309 mayContain: msDS-ObjectReferenceBL
310 rDNAttID: cn
311 adminDisplayName: Samba4TopTop
312 adminDescription: Attributes used in top in Samba4 that OpenLDAP does not
313 objectClassCategory: 3
314 lDAPDisplayName: samba4Top
315 schemaIDGUID: 073598d0-635b-4685-a929-da731b98d84e
316 systemOnly: TRUE
317 systemPossSuperiors: lostAndFound
318 systemMayContain: url
319 systemMayContain: wWWHomePage
320 systemMayContain: wellKnownObjects
321 systemMayContain: wbemPath
322 systemMayContain: uSNSource
323 systemMayContain: uSNLastObjRem
324 systemMayContain: USNIntersite
325 systemMayContain: uSNDSALastObjRemoved
326 systemMayContain: systemFlags
327 systemMayContain: subRefs
328 systemMayContain: siteObjectBL
329 systemMayContain: serverReferenceBL
330 systemMayContain: sDRightsEffective
331 systemMayContain: revision
332 systemMayContain: repsTo
333 systemMayContain: repsFrom
334 systemMayContain: directReports
335 systemMayContain: replUpToDateVector
336 systemMayContain: replPropertyMetaData
337 systemMayContain: name
338 systemMayContain: queryPolicyBL
339 systemMayContain: parentGUID
340 systemMayContain: proxyAddresses
341 systemMayContain: proxiedObjectName
342 systemMayContain: possibleInferiors
343 systemMayContain: partialAttributeSet
344 systemMayContain: partialAttributeDeletionList
345 systemMayContain: otherWellKnownObjects
346 systemMayContain: objectVersion
347 systemMayContain: nonSecurityMemberBL
348 systemMayContain: netbootSCPBL
349 systemMayContain: ownerBL
350 systemMayContain: msDS-ReplValueMetaData
351 systemMayContain: msDS-ReplAttributeMetaData
352 systemMayContain: msDS-NcType
353 systemMayContain: msDS-NonMembersBL
354 systemMayContain: msDS-NCReplOutboundNeighbors
355 systemMayContain: msDS-NCReplInboundNeighbors
356 systemMayContain: msDS-NCReplCursors
357 systemMayContain: msDS-TasksForAzRoleBL
358 systemMayContain: msDS-TasksForAzTaskBL
359 systemMayContain: msDS-OperationsForAzRoleBL
360 systemMayContain: msDS-OperationsForAzTaskBL
361 systemMayContain: msDS-MembersForAzRoleBL
362 systemMayContain: msDs-masteredBy
363 systemMayContain: mS-DS-ConsistencyGuid
364 systemMayContain: mS-DS-ConsistencyChildCount
365 systemMayContain: msDS-Approx-Immed-Subordinates
366 systemMayContain: msCOM-PartitionSetLink
367 systemMayContain: msCOM-UserLink
368 systemMayContain: masteredBy
369 systemMayContain: managedObjects
370 systemMayContain: lastKnownParent
371 systemMayContain: isPrivilegeHolder
372 systemMayContain: isDeleted
373 systemMayContain: isCriticalSystemObject
374 systemMayContain: showInAdvancedViewOnly
375 systemMayContain: fSMORoleOwner
376 systemMayContain: fRSMemberReferenceBL
377 systemMayContain: frsComputerReferenceBL
378 systemMayContain: fromEntry
379 systemMayContain: flags
380 systemMayContain: extensionName
381 systemMayContain: dSASignature
382 systemMayContain: dSCorePropagationData
383 systemMayContain: displayNamePrintable
384 systemMayContain: displayName
385 systemMayContain: description
386 systemMayContain: cn
387 systemMayContain: canonicalName
388 systemMayContain: bridgeheadServerListBL
389 systemMayContain: allowedChildClassesEffective
390 systemMayContain: allowedChildClasses
391 systemMayContain: allowedAttributesEffective
392 systemMayContain: allowedAttributes
393 systemMayContain: adminDisplayName
394 systemMayContain: adminDescription
395 systemMustContain: objectCategory
396 systemMustContain: nTSecurityDescriptor
397 systemMustContain: instanceType
398 defaultSecurityDescriptor: D:(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
399 systemFlags: 16
400 defaultHidingValue: TRUE
401 objectCategory: CN=Class-Schema,${SCHEMADN}
402 defaultObjectCategory: CN=Samba4Top,${SCHEMADN}
403