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