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