Change estimate_ea_size() to correctly estimate the EA size over SMB2.
[Samba/vl.git] / source4 / setup / schema_samba4.ldif
blob94aedb099d8f24264412eae4b6db3b80279c6880
2 # Schema elements which do not exist in AD, but which we use in Samba4
4 ## Samba4 OID allocation from Samba3's examples/LDAP/samba.schema
5 ## 1.3.6.1.4.1.7165.4.1.x - attributetypes
7 ## 1.3.6.1.4.1.7165.4.2.x - objectclasses
9 ## 1.3.6.1.4.1.7165.4.3.x - LDB/LDAP Controls
10 ### see dsdb/samdb/samdb.h
12 ## 1.3.6.1.4.1.7165.4.4.x - LDB/LDAP Extended Operations
13 ### see dsdb/samdb/samdb.h
15 ## 1.3.6.1.4.1.7165.4.5.x - ldap extended matches
17 ## 1.3.6.1.4.1.7165.4.255.x - mapped OIDs due to conflicts between AD and standards-track
23 # Not used anymore
25 #dn: cn=ntpwdHash,${SCHEMADN}
26 #cn: ntpwdHash
27 #name: NTPWDHash
28 #objectClass: top
29 #objectClass: attributeSchema
30 #lDAPDisplayName: ntpwdhash
31 #isSingleValued: TRUE
32 #systemFlags: 17
33 #systemOnly: TRUE
34 #schemaIDGUID: E961130F-5084-458C-9E9C-DEC16DA08592
35 #adminDisplayName: NT-PWD-Hash
36 #attributeID: 1.3.6.1.4.1.7165.4.1.1
37 #attributeSyntax: 2.5.5.10
38 #oMSyntax: 4
41 # Not used anymore
43 #dn: cn=lmpwdHash,${SCHEMADN}
44 #cn: lmpwdHash
45 #name: lmpwdHash
46 #objectClass: top
47 #objectClass: attributeSchema
48 #lDAPDisplayName: lmpwdhash
49 #isSingleValued: TRUE
50 #systemFlags: 17
51 #systemOnly: TRUE
52 #schemaIDGUID: CBD0D18C-9C54-4A77-87C4-5CEEAF781253
53 #adminDisplayName: LM-PWD-Hash
54 #attributeID: 1.3.6.1.4.1.7165.4.1.2
55 #attributeSyntax: 2.5.5.10
56 #oMSyntax: 4
59 # Not used anymore
61 #dn: cn=sambaNtPwdHistory,${SCHEMADN}
62 #cn: sambaNtPwdHistory
63 #name: sambaNtPwdHistory
64 #objectClass: top
65 #objectClass: attributeSchema
66 #lDAPDisplayName: sambaNtPwdHistory
67 #isSingleValued: TRUE
68 #systemFlags: 17
69 #systemOnly: TRUE
70 #schemaIDGUID: 8CCD7658-C574-4435-A38C-99572E349E6B
71 #adminDisplayName: SAMBA-NT-PWD-History
72 #attributeID: 1.3.6.1.4.1.7165.4.1.3
73 #attributeSyntax: 2.5.5.10
74 #oMSyntax: 4
77 # Not used anymore
79 #dn: cn=sambaLmPwdHistory,${SCHEMADN}
80 #cn: sambaLmPwdHistory
81 #name: sambaLmPwdHistory
82 #objectClass: top
83 #objectClass: attributeSchema
84 #lDAPDisplayName: sambaLmPwdHistory
85 #isSingleValued: FALSE
86 #systemFlags: 17
87 #systemOnly: TRUE
88 #schemaIDGUID: 0EAFE3DD-0F53-495E-8A34-97BB28AF17A4
89 #adminDisplayName: SAMBA-LM-PWDHistory
90 #attributeID: 1.3.6.1.4.1.7165.4.1.4
91 #attributeSyntax: 2.5.5.10
92 #oMSyntax: 4
95 # Not used anymore
97 #dn: CN=sambaPassword,${SCHEMADN}
98 #objectClass: top
99 #objectClass: attributeSchema
100 #lDAPDisplayName: sambaPassword
101 #isSingleValued: FALSE
102 #systemFlags: 17
103 #systemOnly: TRUE
104 #schemaIDGUID: 87F10301-229A-4E69-B63A-998339ADA37A
105 #adminDisplayName: SAMBA-Password
106 #attributeID: 1.3.6.1.4.1.7165.4.1.5
107 #attributeSyntax: 2.5.5.5
108 #oMSyntax: 22
111 # Not used anymore
113 #dn: cn=dnsDomain,${SCHEMADN}
114 #objectClass: top
115 #objectClass: attributeSchema
116 #lDAPDisplayName: dnsDomain
117 #isSingleValued: FALSE
118 #systemFlags: 17
119 #systemOnly: TRUE
120 #schemaIDGUID: A40165E6-5E45-44A7-A8FA-186C94333018
121 #adminDisplayName: DNS-Domain
122 #attributeID: 1.3.6.1.4.1.7165.4.1.6
123 #attributeSyntax: 2.5.5.4
124 #oMSyntax: 20
126 # not used anymore
127 #dn: cn=privilege,${SCHEMADN}
128 #objectClass: top
129 #objectClass: attributeSchema
130 #cn: privilege
131 #lDAPDisplayName: privilege
132 #isSingleValued: FALSE
133 #systemFlags: 17
134 #systemOnly: TRUE
135 #schemaIDGUID: 7429BC94-CC6A-4481-8B2C-A97E316EB182
136 #adminDisplayName: Privilege
137 #attributeID: 1.3.6.1.4.1.7165.4.1.7
138 #attributeSyntax: 2.5.5.4
139 #oMSyntax: 20
142 # Not used anymore
144 #dn: CN=unixName,${SCHEMADN}
145 #cn: unixName
146 #name: unixName
147 #objectClass: top
148 #objectClass: attributeSchema
149 #lDAPDisplayName: unixName
150 #isSingleValued: TRUE
151 #systemFlags: 16
152 #systemOnly: FALSE
153 #schemaIDGUID: bf9679f2-0de6-11d0-a285-00aa003049e2
154 #adminDisplayName: Unix-Name
155 #attributeID: 1.3.6.1.4.1.7165.4.1.9
156 #attributeSyntax: 2.5.5.4
157 #oMSyntax: 20
160 # Not used anymore
162 #dn: cn=krb5Key,${SCHEMADN}
163 #cn: krb5Key
164 #name: krb5Key
165 #objectClass: top
166 #objectClass: attributeSchema
167 #lDAPDisplayName: krb5Key
168 #isSingleValued: FALSE
169 #systemFlags: 17
170 #systemOnly: TRUE
171 #schemaIDGUID: 0EAFE3DD-0F53-495E-8A34-97BB28AF17A4
172 #adminDisplayName: krb5-Key
173 #attributeID: 1.3.6.1.4.1.5322.10.1.10
174 #attributeSyntax: 2.5.5.10
175 #oMSyntax: 4
177 # Controls 1.3.6.1.4.1.7165.4.3.x
178 #Allocated: (not used anymore) DSDB_CONTROL_REPLICATED_OBJECT_OID 1.3.6.1.4.1.7165.4.3.1
179 #Allocated: DSDB_CONTROL_CURRENT_PARTITION_OID 1.3.6.1.4.1.7165.4.3.2
180 #Allocated: DSDB_CONTROL_REPLICATED_UPDATE_OID 1.3.6.1.4.1.7165.4.3.3
181 #Allocated: DSDB_CONTROL_DN_STORAGE_FORMAT_OID 1.3.6.1.4.1.7165.4.3.4
182 #Allocated: LDB_CONTROL_RECALCULATE_SD_OID 1.3.6.1.4.1.7165.4.3.5
183 #Allocated: LDB_CONTROL_REVEAL_INTERNALS 1.3.6.1.4.1.7165.4.3.6
184 #Allocated: LDB_CONTROL_AS_SYSTEM_OID 1.3.6.1.4.1.7165.4.3.7
185 #Allocated: DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID 1.3.6.1.4.1.7165.4.3.8
186 #Allocated: DSDB_CONTROL_PASSWORD_HASH_VALUES_OID 1.3.6.1.4.1.7165.4.3.9
187 #Allocated: DSDB_CONTROL_PASSWORD_CHANGE_OID 1.3.6.1.4.1.7165.4.3.10
188 #Allocated: DSDB_CONTROL_APPLY_LINKS 1.3.6.1.4.1.7165.4.3.11
189 #Allocated: DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID 1.3.6.1.4.1.7165.4.3.12
190 #Allocated: LDB_CONTROL_BYPASS_OPERATIONAL_OID 1.3.6.1.4.1.7165.4.3.13
191 #Allocated: DSDB_CONTROL_CHANGEREPLMETADATA_OID 1.3.6.1.4.1.7165.4.3.14
192 #Allocated: (not used anymore) DSDB_CONTROL_SEARCH_APPLY_ACCESS 1.3.6.1.4.1.7165.4.3.15
193 #Allocated: LDB_CONTROL_PROVISION_OID 1.3.6.1.4.1.7165.4.3.16
194 #Allocated: DSDB_CONTROL_NO_GLOBAL_CATALOG 1.3.6.1.4.1.7165.4.3.17
195 #Allocated: DSDB_CONTROL_PARTIAL_REPLICA 1.3.6.1.4.1.7165.4.3.18
196 #Allocated: DSDB_CONTROL_DBCHECK 1.3.6.1.4.1.7165.4.3.19
197 #Allocated: DSDB_CONTROL_DBCHECK_MODIFY_RO_REPLICA 1.3.6.1.4.1.7165.4.3.19.1
198 #Allocated: DSDB_CONTROL_PASSWORD_BYPASS_LAST_SET_OID 1.3.6.1.4.1.7165.4.3.20
199 #Allocated: DSDB_CONTROL_SEC_DESC_PROPAGATION_OID 1.3.6.1.4.1.7165.4.3.21
201 # Extended 1.3.6.1.4.1.7165.4.4.x
202 #Allocated: DSDB_EXTENDED_REPLICATED_OBJECTS_OID 1.3.6.1.4.1.7165.4.4.1
203 #Allocated: DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID 1.3.6.1.4.1.7165.4.4.2
204 #Allocated: LDB_EXTENDED_SEQUENCE_NUMBER 1.3.6.1.4.1.7165.4.4.3
205 #Allocated: DSDB_EXTENDED_CREATE_PARTITION_OID 1.3.6.1.4.1.7165.4.4.4
206 #Allocated: DSDB_EXTENDED_ALLOCATE_RID_POOL 1.3.6.1.4.1.7165.4.4.5
207 #Allocated: DSDB_EXTENDED_SCHEMA_UPGRADE_IN_PROGRESS_OID 1.3.6.1.4.1.7165.4.4.6
208 #Allocated: DSDB_EXTENDED_SEC_DESC_PROPAGATION_OID 1.3.6.1.4.1.7165.4.4.7
211 ############
212 # ldap extended matches
213 #Allocated: SAMBA_LDAP_MATCH_ALWAYS_FALSE 1.3.6.1.4.1.7165.4.5.1
216 #Allocated: (middleName) attributeID: 1.3.6.1.4.1.7165.4.255.1
218 #Allocated: (defaultGroup) attributeID: 1.3.6.1.4.1.7165.4.255.2
220 #Allocated: (modifyTimestamp) samba4ModifyTimestamp: 1.3.6.1.4.1.7165.4.255.3
221 #Allocated: (subSchema) samba4SubSchema: 1.3.6.1.4.1.7165.4.255.4
222 #Allocated: (objectClasses) samba4ObjectClasses: 1.3.6.1.4.1.7165.4.255.5
223 #Allocated: (ditContentRules) samba4DitContentRules: 1.3.6.1.4.1.7165.4.255.6
224 #Allocated: (attributeTypes) samba4AttributeTypes: 1.3.6.1.4.1.7165.4.255.7
225 #Allocated: (dynamicObject) samba4DynamicObject: 1.3.6.1.4.1.7165.4.255.8
226 #Allocated: (entryTTL) samba4EntryTTL: 1.3.6.1.4.1.7165.4.255.9
228 #Allocated: (thumbnailPhoto) attributeID: 1.3.6.1.4.1.7165.4.255.10
229 #Allocated: (thumbnailLogo) attributeID: 1.3.6.1.4.1.7165.4.255.11
232 # Based on domainDNS, but without the DNS bits.
236 # Not used anymore
238 #dn: CN=Samba4-Local-Domain,${SCHEMADN}
239 #objectClass: top
240 #objectClass: classSchema
241 #cn: Samba4-Local-Domain
242 #subClassOf: top
243 #governsID: 1.3.6.1.4.1.7165.4.2.2
244 #rDNAttID: cn
245 #adminDisplayName: Samba4-Local-Domain
246 #adminDescription: Samba4-Local-Domain
247 #systemMayContain: msDS-Behavior-Version
248 #systemMayContain: managedBy
249 #objectClassCategory: 1
250 #lDAPDisplayName: samba4LocalDomain
251 #schemaIDGUID: 07be1647-8310-4fba-91ae-34e55d5a8293
252 #systemOnly: FALSE
253 #systemAuxiliaryClass: samDomain
254 #defaultSecurityDescriptor: D:(A;;RPLCLORC;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
255 #systemFlags: 16
256 #defaultHidingValue: TRUE
257 #defaultObjectCategory: CN=Samba4-Local-Domain,${SCHEMADN}
260 dn: CN=Samba4Top,${SCHEMADN}
261 objectClass: top
262 objectClass: classSchema
263 cn: Samba4Top
264 subClassOf: top
265 governsID: 1.3.6.1.4.1.7165.4.2.1
266 mayContain: msDS-ObjectReferenceBL
267 rDNAttID: cn
268 adminDisplayName: Samba4TopTop
269 adminDescription: Attributes used in top in Samba4 that OpenLDAP does not
270 objectClassCategory: 3
271 lDAPDisplayName: samba4Top
272 schemaIDGUID: 073598d0-635b-4685-a929-da731b98d84e
273 systemOnly: TRUE
274 systemPossSuperiors: lostAndFound
275 systemMayContain: url
276 systemMayContain: wWWHomePage
277 systemMayContain: wellKnownObjects
278 systemMayContain: wbemPath
279 systemMayContain: uSNSource
280 systemMayContain: uSNLastObjRem
281 systemMayContain: USNIntersite
282 systemMayContain: uSNDSALastObjRemoved
283 systemMayContain: systemFlags
284 systemMayContain: subRefs
285 systemMayContain: siteObjectBL
286 systemMayContain: serverReferenceBL
287 systemMayContain: sDRightsEffective
288 systemMayContain: revision
289 systemMayContain: repsTo
290 systemMayContain: repsFrom
291 systemMayContain: directReports
292 systemMayContain: replUpToDateVector
293 systemMayContain: replPropertyMetaData
294 systemMayContain: name
295 systemMayContain: queryPolicyBL
296 systemMayContain: parentGUID
297 systemMayContain: proxyAddresses
298 systemMayContain: proxiedObjectName
299 systemMayContain: possibleInferiors
300 systemMayContain: partialAttributeSet
301 systemMayContain: partialAttributeDeletionList
302 systemMayContain: otherWellKnownObjects
303 systemMayContain: objectVersion
304 systemMayContain: nonSecurityMemberBL
305 systemMayContain: netbootSCPBL
306 systemMayContain: ownerBL
307 systemMayContain: msDS-ReplValueMetaData
308 systemMayContain: msDS-ReplAttributeMetaData
309 systemMayContain: msDS-NcType
310 systemMayContain: msDS-NonMembersBL
311 systemMayContain: msDS-NCReplOutboundNeighbors
312 systemMayContain: msDS-NCReplInboundNeighbors
313 systemMayContain: msDS-NCReplCursors
314 systemMayContain: msDS-TasksForAzRoleBL
315 systemMayContain: msDS-TasksForAzTaskBL
316 systemMayContain: msDS-OperationsForAzRoleBL
317 systemMayContain: msDS-OperationsForAzTaskBL
318 systemMayContain: msDS-MembersForAzRoleBL
319 systemMayContain: msDs-masteredBy
320 systemMayContain: mS-DS-ConsistencyGuid
321 systemMayContain: mS-DS-ConsistencyChildCount
322 systemMayContain: msDS-Approx-Immed-Subordinates
323 systemMayContain: msCOM-PartitionSetLink
324 systemMayContain: msCOM-UserLink
325 systemMayContain: masteredBy
326 systemMayContain: managedObjects
327 systemMayContain: lastKnownParent
328 systemMayContain: isPrivilegeHolder
329 systemMayContain: isDeleted
330 systemMayContain: isCriticalSystemObject
331 systemMayContain: showInAdvancedViewOnly
332 systemMayContain: fSMORoleOwner
333 systemMayContain: fRSMemberReferenceBL
334 systemMayContain: frsComputerReferenceBL
335 systemMayContain: fromEntry
336 systemMayContain: flags
337 systemMayContain: extensionName
338 systemMayContain: dSASignature
339 systemMayContain: dSCorePropagationData
340 systemMayContain: displayNamePrintable
341 systemMayContain: displayName
342 systemMayContain: description
343 systemMayContain: cn
344 systemMayContain: canonicalName
345 systemMayContain: bridgeheadServerListBL
346 systemMayContain: allowedChildClassesEffective
347 systemMayContain: allowedChildClasses
348 systemMayContain: allowedAttributesEffective
349 systemMayContain: allowedAttributes
350 systemMayContain: adminDisplayName
351 systemMayContain: adminDescription
352 systemMustContain: objectCategory
353 systemMustContain: nTSecurityDescriptor
354 systemMustContain: instanceType
355 defaultSecurityDescriptor: D:(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
356 systemFlags: 16
357 defaultHidingValue: TRUE
358 objectCategory: CN=Class-Schema,${SCHEMADN}
359 defaultObjectCategory: CN=Samba4Top,${SCHEMADN}