smbd: Fix following symlinks if basedir != cwd_fsp
[samba4-gss.git] / source4 / setup / schema_samba4.ldif
blobed775af59a8feb40e9847d76fca70a7133123a05
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.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
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
37 ## 1.3.6.1.4.1.7165.4.255.x - mapped OIDs due to conflicts between AD and standards-track
43 # Not used anymore
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
61 # Not used anymore
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
79 # Not used anymore
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
97 # Not used anymore
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
115 # Not used anymore
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
131 # Not used anymore
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
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
162 # Not used anymore
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
180 # Not used anymore
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
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_OLD_PW_CHECKED_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 #Allocated: DSDB_CONTROL_CALCULATED_DEFAULT_SD_OID 1.3.6.1.4.1.7165.4.3.36
237 #Allocated: DSDB_CONTROL_ACL_READ_OID 1.3.6.1.4.1.7165.4.3.37
238 #Allocated: DSDB_CONTROL_GMSA_UPDATE_OID 1.3.6.1.4.1.7165.4.3.38
239 #Allocated: DSDB_CONTROL_PASSWORD_KDC_RESET_SMARTCARD_ACCOUNT_PASSWORD 1.3.6.1.4.1.7165.4.3.39
241 # Extended 1.3.6.1.4.1.7165.4.4.x
242 #Allocated: DSDB_EXTENDED_REPLICATED_OBJECTS_OID 1.3.6.1.4.1.7165.4.4.1
243 #Allocated: DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID 1.3.6.1.4.1.7165.4.4.2
244 #Allocated: LDB_EXTENDED_SEQUENCE_NUMBER 1.3.6.1.4.1.7165.4.4.3
245 #Allocated: DSDB_EXTENDED_CREATE_PARTITION_OID 1.3.6.1.4.1.7165.4.4.4
246 #Allocated: DSDB_EXTENDED_ALLOCATE_RID_POOL 1.3.6.1.4.1.7165.4.4.5
247 #Allocated: DSDB_EXTENDED_SCHEMA_UPGRADE_IN_PROGRESS_OID 1.3.6.1.4.1.7165.4.4.6
248 #Allocated: DSDB_EXTENDED_SEC_DESC_PROPAGATION_OID 1.3.6.1.4.1.7165.4.4.7
249 #Allocated: DSDB_EXTENDED_CREATE_OWN_RID_SET 1.3.6.1.4.1.7165.4.4.8
250 #Allocated: DSDB_EXTENDED_ALLOCATE_RID 1.3.6.1.4.1.7165.4.4.9
251 #Allocated: DSDB_EXTENDED_SCHEMA_LOAD 1.3.6.1.4.1.7165.4.4.10
254 ############
255 # ldap extended matches
256 #Allocated: SAMBA_LDAP_MATCH_ALWAYS_FALSE 1.3.6.1.4.1.7165.4.5.1
257 #Allocated: DSDB_MATCH_FOR_EXPUNGE 1.3.6.1.4.1.7165.4.5.2
258 #Allocated: DSDB_MATCH_FOR_DNS_TO_TOMBSTONE_TIME 1.3.6.1.4.1.7165.4.5.3
261 #Allocated: (middleName) attributeID: 1.3.6.1.4.1.7165.4.255.1
263 #Allocated: (defaultGroup) attributeID: 1.3.6.1.4.1.7165.4.255.2
265 #Allocated: (modifyTimestamp) samba4ModifyTimestamp: 1.3.6.1.4.1.7165.4.255.3
266 #Allocated: (subSchema) samba4SubSchema: 1.3.6.1.4.1.7165.4.255.4
267 #Allocated: (objectClasses) samba4ObjectClasses: 1.3.6.1.4.1.7165.4.255.5
268 #Allocated: (ditContentRules) samba4DitContentRules: 1.3.6.1.4.1.7165.4.255.6
269 #Allocated: (attributeTypes) samba4AttributeTypes: 1.3.6.1.4.1.7165.4.255.7
270 #Allocated: (dynamicObject) samba4DynamicObject: 1.3.6.1.4.1.7165.4.255.8
271 #Allocated: (entryTTL) samba4EntryTTL: 1.3.6.1.4.1.7165.4.255.9
273 #Allocated: (thumbnailPhoto) attributeID: 1.3.6.1.4.1.7165.4.255.10
274 #Allocated: (thumbnailLogo) attributeID: 1.3.6.1.4.1.7165.4.255.11
277 # Based on domainDNS, but without the DNS bits.
281 # Not used anymore
283 #dn: CN=Samba4-Local-Domain,${SCHEMADN}
284 #objectClass: top
285 #objectClass: classSchema
286 #cn: Samba4-Local-Domain
287 #subClassOf: top
288 #governsID: 1.3.6.1.4.1.7165.4.2.2
289 #rDNAttID: cn
290 #adminDisplayName: Samba4-Local-Domain
291 #adminDescription: Samba4-Local-Domain
292 #systemMayContain: msDS-Behavior-Version
293 #systemMayContain: managedBy
294 #objectClassCategory: 1
295 #lDAPDisplayName: samba4LocalDomain
296 #schemaIDGUID: 07be1647-8310-4fba-91ae-34e55d5a8293
297 #systemOnly: FALSE
298 #systemAuxiliaryClass: samDomain
299 #defaultSecurityDescriptor: D:(A;;RPLCLORC;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
300 #systemFlags: 16
301 #defaultHidingValue: TRUE
302 #defaultObjectCategory: CN=Samba4-Local-Domain,${SCHEMADN}
305 dn: CN=Samba4Top,${SCHEMADN}
306 objectClass: top
307 objectClass: classSchema
308 cn: Samba4Top
309 subClassOf: top
310 objectGUID: 4af54ff0-ff3c-4f17-8fb0-611ec83ddfb4
311 governsID: 1.3.6.1.4.1.7165.4.2.1
312 mayContain: msDS-ObjectReferenceBL
313 rDNAttID: cn
314 adminDisplayName: Samba4TopTop
315 adminDescription: Attributes used in top in Samba4 that OpenLDAP does not
316 objectClassCategory: 3
317 lDAPDisplayName: samba4Top
318 schemaIDGUID: 073598d0-635b-4685-a929-da731b98d84e
319 systemOnly: TRUE
320 systemPossSuperiors: lostAndFound
321 systemMayContain: url
322 systemMayContain: wWWHomePage
323 systemMayContain: wellKnownObjects
324 systemMayContain: wbemPath
325 systemMayContain: uSNSource
326 systemMayContain: uSNLastObjRem
327 systemMayContain: USNIntersite
328 systemMayContain: uSNDSALastObjRemoved
329 systemMayContain: systemFlags
330 systemMayContain: subRefs
331 systemMayContain: siteObjectBL
332 systemMayContain: serverReferenceBL
333 systemMayContain: sDRightsEffective
334 systemMayContain: revision
335 systemMayContain: repsTo
336 systemMayContain: repsFrom
337 systemMayContain: directReports
338 systemMayContain: replUpToDateVector
339 systemMayContain: replPropertyMetaData
340 systemMayContain: name
341 systemMayContain: queryPolicyBL
342 systemMayContain: parentGUID
343 systemMayContain: proxyAddresses
344 systemMayContain: proxiedObjectName
345 systemMayContain: possibleInferiors
346 systemMayContain: partialAttributeSet
347 systemMayContain: partialAttributeDeletionList
348 systemMayContain: otherWellKnownObjects
349 systemMayContain: objectVersion
350 systemMayContain: nonSecurityMemberBL
351 systemMayContain: netbootSCPBL
352 systemMayContain: ownerBL
353 systemMayContain: msDS-ReplValueMetaData
354 systemMayContain: msDS-ReplAttributeMetaData
355 systemMayContain: msDS-NcType
356 systemMayContain: msDS-NonMembersBL
357 systemMayContain: msDS-NCReplOutboundNeighbors
358 systemMayContain: msDS-NCReplInboundNeighbors
359 systemMayContain: msDS-NCReplCursors
360 systemMayContain: msDS-TasksForAzRoleBL
361 systemMayContain: msDS-TasksForAzTaskBL
362 systemMayContain: msDS-OperationsForAzRoleBL
363 systemMayContain: msDS-OperationsForAzTaskBL
364 systemMayContain: msDS-MembersForAzRoleBL
365 systemMayContain: msDs-masteredBy
366 systemMayContain: mS-DS-ConsistencyGuid
367 systemMayContain: mS-DS-ConsistencyChildCount
368 systemMayContain: msDS-Approx-Immed-Subordinates
369 systemMayContain: msCOM-PartitionSetLink
370 systemMayContain: msCOM-UserLink
371 systemMayContain: masteredBy
372 systemMayContain: managedObjects
373 systemMayContain: lastKnownParent
374 systemMayContain: isPrivilegeHolder
375 systemMayContain: isDeleted
376 systemMayContain: isCriticalSystemObject
377 systemMayContain: showInAdvancedViewOnly
378 systemMayContain: fSMORoleOwner
379 systemMayContain: fRSMemberReferenceBL
380 systemMayContain: frsComputerReferenceBL
381 systemMayContain: fromEntry
382 systemMayContain: flags
383 systemMayContain: extensionName
384 systemMayContain: dSASignature
385 systemMayContain: dSCorePropagationData
386 systemMayContain: displayNamePrintable
387 systemMayContain: displayName
388 systemMayContain: description
389 systemMayContain: cn
390 systemMayContain: canonicalName
391 systemMayContain: bridgeheadServerListBL
392 systemMayContain: allowedChildClassesEffective
393 systemMayContain: allowedChildClasses
394 systemMayContain: allowedAttributesEffective
395 systemMayContain: allowedAttributes
396 systemMayContain: adminDisplayName
397 systemMayContain: adminDescription
398 systemMustContain: objectCategory
399 systemMustContain: nTSecurityDescriptor
400 systemMustContain: instanceType
401 defaultSecurityDescriptor: D:(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;DA)(A;;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(A;;RPLCLORC;;;AU)
402 systemFlags: 16
403 defaultHidingValue: TRUE
404 objectCategory: CN=Class-Schema,${SCHEMADN}
405 defaultObjectCategory: CN=Samba4Top,${SCHEMADN}