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