can_write_to_file() does now take share permissions into account. Fix comment.
[Samba/gebeck_regimport.git] / source4 / setup / schema_samba4.ldif
blob5f4a20a2f087024536f50b727b7a79f73bba6a1d
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_PASSWORD_BYPASS_LAST_SET_OID 1.3.6.1.4.1.7165.4.3.20
199 # Extended 1.3.6.1.4.1.7165.4.4.x
200 #Allocated: DSDB_EXTENDED_REPLICATED_OBJECTS_OID 1.3.6.1.4.1.7165.4.4.1
201 #Allocated: DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID 1.3.6.1.4.1.7165.4.4.2
202 #Allocated: LDB_EXTENDED_SEQUENCE_NUMBER 1.3.6.1.4.1.7165.4.4.3
203 #Allocated: DSDB_EXTENDED_CREATE_PARTITION_OID 1.3.6.1.4.1.7165.4.4.4
204 #Allocated: DSDB_EXTENDED_ALLOCATE_RID_POOL 1.3.6.1.4.1.7165.4.4.5
207 ############
208 # ldap extended matches
209 #Allocated: SAMBA_LDAP_MATCH_ALWAYS_FALSE 1.3.6.1.4.1.7165.4.5.1
212 #Allocated: (middleName) attributeID: 1.3.6.1.4.1.7165.4.255.1
214 #Allocated: (defaultGroup) attributeID: 1.3.6.1.4.1.7165.4.255.2
216 #Allocated: (modifyTimestamp) samba4ModifyTimestamp: 1.3.6.1.4.1.7165.4.255.3
217 #Allocated: (subSchema) samba4SubSchema: 1.3.6.1.4.1.7165.4.255.4
218 #Allocated: (objectClasses) samba4ObjectClasses: 1.3.6.1.4.1.7165.4.255.5
219 #Allocated: (ditContentRules) samba4DitContentRules: 1.3.6.1.4.1.7165.4.255.6
220 #Allocated: (attributeTypes) samba4AttributeTypes: 1.3.6.1.4.1.7165.4.255.7
221 #Allocated: (dynamicObject) samba4DynamicObject: 1.3.6.1.4.1.7165.4.255.8
222 #Allocated: (entryTTL) samba4EntryTTL: 1.3.6.1.4.1.7165.4.255.9
224 #Allocated: (thumbnailPhoto) attributeID: 1.3.6.1.4.1.7165.4.255.10
225 #Allocated: (thumbnailLogo) attributeID: 1.3.6.1.4.1.7165.4.255.11
228 # Based on domainDNS, but without the DNS bits.
232 # Not used anymore
234 #dn: CN=Samba4-Local-Domain,${SCHEMADN}
235 #objectClass: top
236 #objectClass: classSchema
237 #cn: Samba4-Local-Domain
238 #subClassOf: top
239 #governsID: 1.3.6.1.4.1.7165.4.2.2
240 #rDNAttID: cn
241 #adminDisplayName: Samba4-Local-Domain
242 #adminDescription: Samba4-Local-Domain
243 #systemMayContain: msDS-Behavior-Version
244 #systemMayContain: managedBy
245 #objectClassCategory: 1
246 #lDAPDisplayName: samba4LocalDomain
247 #schemaIDGUID: 07be1647-8310-4fba-91ae-34e55d5a8293
248 #systemOnly: FALSE
249 #systemAuxiliaryClass: samDomain
250 #defaultSecurityDescriptor: D:(A;;RPLCLORC;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
251 #systemFlags: 16
252 #defaultHidingValue: TRUE
253 #defaultObjectCategory: CN=Samba4-Local-Domain,${SCHEMADN}
256 dn: CN=Samba4Top,${SCHEMADN}
257 objectClass: top
258 objectClass: classSchema
259 cn: Samba4Top
260 subClassOf: top
261 governsID: 1.3.6.1.4.1.7165.4.2.1
262 mayContain: msDS-ObjectReferenceBL
263 rDNAttID: cn
264 adminDisplayName: Samba4TopTop
265 adminDescription: Attributes used in top in Samba4 that OpenLDAP does not
266 objectClassCategory: 3
267 lDAPDisplayName: samba4Top
268 schemaIDGUID: 073598d0-635b-4685-a929-da731b98d84e
269 systemOnly: TRUE
270 systemPossSuperiors: lostAndFound
271 systemMayContain: url
272 systemMayContain: wWWHomePage
273 systemMayContain: wellKnownObjects
274 systemMayContain: wbemPath
275 systemMayContain: uSNSource
276 systemMayContain: uSNLastObjRem
277 systemMayContain: USNIntersite
278 systemMayContain: uSNDSALastObjRemoved
279 systemMayContain: systemFlags
280 systemMayContain: subRefs
281 systemMayContain: siteObjectBL
282 systemMayContain: serverReferenceBL
283 systemMayContain: sDRightsEffective
284 systemMayContain: revision
285 systemMayContain: repsTo
286 systemMayContain: repsFrom
287 systemMayContain: directReports
288 systemMayContain: replUpToDateVector
289 systemMayContain: replPropertyMetaData
290 systemMayContain: name
291 systemMayContain: queryPolicyBL
292 systemMayContain: parentGUID
293 systemMayContain: proxyAddresses
294 systemMayContain: proxiedObjectName
295 systemMayContain: possibleInferiors
296 systemMayContain: partialAttributeSet
297 systemMayContain: partialAttributeDeletionList
298 systemMayContain: otherWellKnownObjects
299 systemMayContain: objectVersion
300 systemMayContain: nonSecurityMemberBL
301 systemMayContain: netbootSCPBL
302 systemMayContain: ownerBL
303 systemMayContain: msDS-ReplValueMetaData
304 systemMayContain: msDS-ReplAttributeMetaData
305 systemMayContain: msDS-NcType
306 systemMayContain: msDS-NonMembersBL
307 systemMayContain: msDS-NCReplOutboundNeighbors
308 systemMayContain: msDS-NCReplInboundNeighbors
309 systemMayContain: msDS-NCReplCursors
310 systemMayContain: msDS-TasksForAzRoleBL
311 systemMayContain: msDS-TasksForAzTaskBL
312 systemMayContain: msDS-OperationsForAzRoleBL
313 systemMayContain: msDS-OperationsForAzTaskBL
314 systemMayContain: msDS-MembersForAzRoleBL
315 systemMayContain: msDs-masteredBy
316 systemMayContain: mS-DS-ConsistencyGuid
317 systemMayContain: mS-DS-ConsistencyChildCount
318 systemMayContain: msDS-Approx-Immed-Subordinates
319 systemMayContain: msCOM-PartitionSetLink
320 systemMayContain: msCOM-UserLink
321 systemMayContain: masteredBy
322 systemMayContain: managedObjects
323 systemMayContain: lastKnownParent
324 systemMayContain: isPrivilegeHolder
325 systemMayContain: isDeleted
326 systemMayContain: isCriticalSystemObject
327 systemMayContain: showInAdvancedViewOnly
328 systemMayContain: fSMORoleOwner
329 systemMayContain: fRSMemberReferenceBL
330 systemMayContain: frsComputerReferenceBL
331 systemMayContain: fromEntry
332 systemMayContain: flags
333 systemMayContain: extensionName
334 systemMayContain: dSASignature
335 systemMayContain: dSCorePropagationData
336 systemMayContain: displayNamePrintable
337 systemMayContain: displayName
338 systemMayContain: description
339 systemMayContain: cn
340 systemMayContain: canonicalName
341 systemMayContain: bridgeheadServerListBL
342 systemMayContain: allowedChildClassesEffective
343 systemMayContain: allowedChildClasses
344 systemMayContain: allowedAttributesEffective
345 systemMayContain: allowedAttributes
346 systemMayContain: adminDisplayName
347 systemMayContain: adminDescription
348 systemMustContain: objectCategory
349 systemMustContain: nTSecurityDescriptor
350 systemMustContain: instanceType
351 defaultSecurityDescriptor: D:(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
352 systemFlags: 16
353 defaultHidingValue: TRUE
354 objectCategory: CN=Class-Schema,${SCHEMADN}
355 defaultObjectCategory: CN=Samba4Top,${SCHEMADN}