8944e3f62fc647b9944222d9961a13254b4b7a2b
[ira/wip.git] / source4 / setup / provision_users.ldif
1 # Add default primary groups (domain users, domain guests, domain computers &
2 # domain controllers) - needed for the users to find valid primary groups
3 # (samldb module)
4
5 dn: CN=Domain Users,CN=Users,${DOMAINDN}
6 objectClass: top
7 objectClass: group
8 description: All domain users
9 objectSid: ${DOMAINSID}-513
10 sAMAccountName: Domain Users
11 isCriticalSystemObject: TRUE
12
13 dn: CN=Domain Guests,CN=Users,${DOMAINDN}
14 objectClass: top
15 objectClass: group
16 description: All domain guests
17 objectSid: ${DOMAINSID}-514
18 sAMAccountName: Domain Guests
19 isCriticalSystemObject: TRUE
20
21 dn: CN=Domain Computers,CN=Users,${DOMAINDN}
22 objectClass: top
23 objectClass: group
24 description: All workstations and servers joined to the domain
25 objectSid: ${DOMAINSID}-515
26 sAMAccountName: Domain Computers
27 isCriticalSystemObject: TRUE
28
29 dn: CN=Domain Controllers,CN=Users,${DOMAINDN}
30 objectClass: top
31 objectClass: group
32 description: All domain controllers in the domain
33 objectSid: ${DOMAINSID}-516
34 adminCount: 1
35 sAMAccountName: Domain Controllers
36 isCriticalSystemObject: TRUE
37
38 # Add users
39
40 dn: CN=Administrator,CN=Users,${DOMAINDN}
41 objectClass: user
42 description: Built-in account for administering the computer/domain
43 userAccountControl: 66048
44 objectSid: ${DOMAINSID}-500
45 adminCount: 1
46 accountExpires: 9223372036854775807
47 sAMAccountName: Administrator
48 userPassword:: ${ADMINPASS_B64}
49 isCriticalSystemObject: TRUE
50
51 dn: CN=Guest,CN=Users,${DOMAINDN}
52 objectClass: user
53 description: Built-in account for guest access to the computer/domain
54 userAccountControl: 66082
55 primaryGroupID: 514
56 objectSid: ${DOMAINSID}-501
57 sAMAccountName: Guest
58 isCriticalSystemObject: TRUE
59
60 dn: CN=krbtgt,CN=Users,${DOMAINDN}
61 objectClass: top
62 objectClass: person
63 objectClass: organizationalPerson
64 objectClass: user
65 description: Key Distribution Center Service Account
66 showInAdvancedViewOnly: TRUE
67 userAccountControl: 514
68 objectSid: ${DOMAINSID}-502
69 adminCount: 1
70 accountExpires: 9223372036854775807
71 sAMAccountName: krbtgt
72 servicePrincipalName: kadmin/changepw
73 userPassword:: ${KRBTGTPASS_B64}
74 isCriticalSystemObject: TRUE
75
76 # Add other groups
77
78 dn: CN=Enterprise Admins,CN=Users,${DOMAINDN}
79 objectClass: top
80 objectClass: group
81 description: Designated administrators of the enterprise
82 member: CN=Administrator,CN=Users,${DOMAINDN}
83 objectSid: ${DOMAINSID}-519
84 adminCount: 1
85 sAMAccountName: Enterprise Admins
86 isCriticalSystemObject: TRUE
87
88 dn: CN=Schema Admins,CN=Users,${DOMAINDN}
89 objectClass: top
90 objectClass: group
91 description: Designated administrators of the schema
92 member: CN=Administrator,CN=Users,${DOMAINDN}
93 objectSid: ${DOMAINSID}-518
94 adminCount: 1
95 sAMAccountName: Schema Admins
96 isCriticalSystemObject: TRUE
97
98 dn: CN=Cert Publishers,CN=Users,${DOMAINDN}
99 objectClass: top
100 objectClass: group
101 description: Members of this group are permitted to publish certificates to the Active Directory
102 groupType: -2147483644
103 objectSid: ${DOMAINSID}-517
104 sAMAccountName: Cert Publishers
105 isCriticalSystemObject: TRUE
106
107 dn: CN=Domain Admins,CN=Users,${DOMAINDN}
108 objectClass: top
109 objectClass: group
110 description: Designated administrators of the domain
111 member: CN=Administrator,CN=Users,${DOMAINDN}
112 objectSid: ${DOMAINSID}-512
113 adminCount: 1
114 sAMAccountName: Domain Admins
115 isCriticalSystemObject: TRUE
116
117 dn: CN=Group Policy Creator Owners,CN=Users,${DOMAINDN}
118 objectClass: top
119 objectClass: group
120 description: Members in this group can modify group policy for the domain
121 member: CN=Administrator,CN=Users,${DOMAINDN}
122 objectSid: ${DOMAINSID}-520
123 sAMAccountName: Group Policy Creator Owners
124 isCriticalSystemObject: TRUE
125
126 dn: CN=RAS and IAS Servers,CN=Users,${DOMAINDN}
127 objectClass: top
128 objectClass: group
129 description: Servers in this group can access remote access properties of users
130 objectSid: ${DOMAINSID}-553
131 sAMAccountName: RAS and IAS Servers
132 groupType: -2147483644
133 isCriticalSystemObject: TRUE
134
135 dn: CN=Read-Only Domain Controllers,CN=Users,${DOMAINDN}
136 objectClass: top
137 objectClass: group
138 description: read-only domain controllers
139 objectSid: ${DOMAINSID}-521
140 sAMAccountName: Read-Only Domain Controllers
141 groupType: -2147483644
142 isCriticalSystemObject: TRUE
143
144 dn: CN=Enterprise Read-Only Domain Controllers,CN=Users,${DOMAINDN}
145 objectClass: top
146 objectClass: group
147 description: enterprise read-only domain controllers
148 objectSid: ${DOMAINSID}-498
149 sAMAccountName: Enterprise Read-Only Domain Controllers
150 groupType: -2147483644
151 isCriticalSystemObject: TRUE
152
153 dn: CN=Certificate Service DCOM Access,CN=Users,${DOMAINDN}
154 objectClass: top
155 objectClass: group
156 description: Certificate Service DCOM Access
157 objectSid: ${DOMAINSID}-574
158 sAMAccountName: Certificate Service DCOM Access
159 groupType: -2147483644
160 isCriticalSystemObject: TRUE
161
162 dn: CN=Cryptographic Operators,CN=Users,${DOMAINDN}
163 objectClass: top
164 objectClass: group
165 description: Cryptographic Operators
166 objectSid: ${DOMAINSID}-569
167 sAMAccountName: Cryptographic Operators
168 groupType: -2147483644
169 isCriticalSystemObject: TRUE
170
171 dn: CN=Event Log Readers,CN=Users,${DOMAINDN}
172 objectClass: top
173 objectClass: group
174 description: Event Log Readers
175 objectSid: ${DOMAINSID}-573
176 sAMAccountName: Event Log Readers
177 groupType: -2147483644
178 isCriticalSystemObject: TRUE
179
180 # Add foreign security principals
181
182 dn: CN=S-1-5-4,CN=ForeignSecurityPrincipals,${DOMAINDN}
183 objectClass: top
184 objectClass: foreignSecurityPrincipal
185 objectSid: S-1-5-4
186
187 dn: CN=S-1-5-9,CN=ForeignSecurityPrincipals,${DOMAINDN}
188 objectClass: top
189 objectClass: foreignSecurityPrincipal
190 objectSid: S-1-5-9
191
192 dn: CN=S-1-5-11,CN=ForeignSecurityPrincipals,${DOMAINDN}
193 objectClass: top
194 objectClass: foreignSecurityPrincipal
195 objectSid: S-1-5-11
196
197 dn: CN=S-1-5-20,CN=ForeignSecurityPrincipals,${DOMAINDN}
198 objectClass: top
199 objectClass: foreignSecurityPrincipal
200 objectSid: S-1-5-20
201
202 # Add builtin objects
203
204 dn: CN=Administrators,CN=Builtin,${DOMAINDN}
205 objectClass: top
206 objectClass: group
207 description: Administrators have complete and unrestricted access to the computer/domain
208 member: CN=Domain Admins,CN=Users,${DOMAINDN}
209 member: CN=Enterprise Admins,CN=Users,${DOMAINDN}
210 member: CN=Administrator,CN=Users,${DOMAINDN}
211 objectSid: S-1-5-32-544
212 adminCount: 1
213 sAMAccountName: Administrators
214 systemFlags: -1946157056
215 groupType: -2147483643
216 privilege: SeSecurityPrivilege
217 privilege: SeBackupPrivilege
218 privilege: SeRestorePrivilege
219 privilege: SeSystemtimePrivilege
220 privilege: SeShutdownPrivilege
221 privilege: SeRemoteShutdownPrivilege
222 privilege: SeTakeOwnershipPrivilege
223 privilege: SeDebugPrivilege
224 privilege: SeSystemEnvironmentPrivilege
225 privilege: SeSystemProfilePrivilege
226 privilege: SeProfileSingleProcessPrivilege
227 privilege: SeIncreaseBasePriorityPrivilege
228 privilege: SeLoadDriverPrivilege
229 privilege: SeCreatePagefilePrivilege
230 privilege: SeIncreaseQuotaPrivilege
231 privilege: SeChangeNotifyPrivilege
232 privilege: SeUndockPrivilege
233 privilege: SeManageVolumePrivilege
234 privilege: SeImpersonatePrivilege
235 privilege: SeCreateGlobalPrivilege
236 privilege: SeEnableDelegationPrivilege
237 privilege: SeInteractiveLogonRight
238 privilege: SeNetworkLogonRight
239 privilege: SeRemoteInteractiveLogonRight
240 isCriticalSystemObject: TRUE
241
242 dn: CN=Users,CN=Builtin,${DOMAINDN}
243 objectClass: top
244 objectClass: group
245 description: Users are prevented from making accidental or intentional system-wide changes.  Thus, Users can run certified applications, but not most legacy applications
246 member: CN=Domain Users,CN=Users,${DOMAINDN}
247 member: CN=S-1-5-4,CN=ForeignSecurityPrincipals,${DOMAINDN}
248 member: CN=S-1-5-11,CN=ForeignSecurityPrincipals,${DOMAINDN}
249 objectSid: S-1-5-32-545
250 sAMAccountName: Users
251 systemFlags: -1946157056
252 groupType: -2147483643
253 isCriticalSystemObject: TRUE
254
255 dn: CN=Guests,CN=Builtin,${DOMAINDN}
256 objectClass: top
257 objectClass: group
258 description: Guests have the same access as members of the Users group by default, except for the Guest account which is further restricted
259 member: CN=Domain Guests,CN=Users,${DOMAINDN}
260 member: CN=Guest,CN=Users,${DOMAINDN}
261 objectSid: S-1-5-32-546
262 sAMAccountName: Guests
263 systemFlags: -1946157056
264 groupType: -2147483643
265 isCriticalSystemObject: TRUE
266
267 dn: CN=Print Operators,CN=Builtin,${DOMAINDN}
268 objectClass: top
269 objectClass: group
270 description: Members can administer domain printers
271 objectSid: S-1-5-32-550
272 adminCount: 1
273 sAMAccountName: Print Operators
274 systemFlags: -1946157056
275 groupType: -2147483643
276 privilege: SeLoadDriverPrivilege
277 privilege: SeShutdownPrivilege
278 privilege: SeInteractiveLogonRight
279 isCriticalSystemObject: TRUE
280
281 dn: CN=Backup Operators,CN=Builtin,${DOMAINDN}
282 objectClass: top
283 objectClass: group
284 description: Backup Operators can override security restrictions for the sole purpose of backing up or restoring files
285 objectSid: S-1-5-32-551
286 adminCount: 1
287 sAMAccountName: Backup Operators
288 systemFlags: -1946157056
289 groupType: -2147483643
290 privilege: SeBackupPrivilege
291 privilege: SeRestorePrivilege
292 privilege: SeShutdownPrivilege
293 privilege: SeInteractiveLogonRight
294 isCriticalSystemObject: TRUE
295
296 dn: CN=Replicator,CN=Builtin,${DOMAINDN}
297 objectClass: top
298 objectClass: group
299 description: Supports file replication in a domain
300 objectSid: S-1-5-32-552
301 adminCount: 1
302 sAMAccountName: Replicator
303 systemFlags: -1946157056
304 groupType: -2147483643
305 isCriticalSystemObject: TRUE
306
307 dn: CN=Remote Desktop Users,CN=Builtin,${DOMAINDN}
308 objectClass: top
309 objectClass: group
310 description: Members in this group are granted the right to logon remotely
311 objectSid: S-1-5-32-555
312 sAMAccountName: Remote Desktop Users
313 systemFlags: -1946157056
314 groupType: -2147483643
315 isCriticalSystemObject: TRUE
316
317 dn: CN=Network Configuration Operators,CN=Builtin,${DOMAINDN}
318 objectClass: top
319 objectClass: group
320 description: Members in this group can have some administrative privileges to manage configuration of networking features
321 objectSid: S-1-5-32-556
322 sAMAccountName: Network Configuration Operators
323 systemFlags: -1946157056
324 groupType: -2147483643
325 isCriticalSystemObject: TRUE
326
327 dn: CN=Performance Monitor Users,CN=Builtin,${DOMAINDN}
328 objectClass: top
329 objectClass: group
330 description: Members of this group have remote access to monitor this computer
331 objectSid: S-1-5-32-558
332 sAMAccountName: Performance Monitor Users
333 systemFlags: -1946157056
334 groupType: -2147483643
335 isCriticalSystemObject: TRUE
336
337 dn: CN=Performance Log Users,CN=Builtin,${DOMAINDN}
338 objectClass: top
339 objectClass: group
340 description: Members of this group have remote access to schedule logging of performance counters on this computer
341 member: CN=S-1-5-20,CN=ForeignSecurityPrincipals,${DOMAINDN}
342 objectSid: S-1-5-32-559
343 sAMAccountName: Performance Log Users
344 systemFlags: -1946157056
345 groupType: -2147483643
346 isCriticalSystemObject: TRUE
347
348 dn: CN=Server Operators,CN=Builtin,${DOMAINDN}
349 objectClass: top
350 objectClass: group
351 description: Members can administer domain servers
352 objectSid: S-1-5-32-549
353 adminCount: 1
354 sAMAccountName: Server Operators
355 systemFlags: -1946157056
356 groupType: -2147483643
357 privilege: SeBackupPrivilege
358 privilege: SeSystemtimePrivilege
359 privilege: SeRemoteShutdownPrivilege
360 privilege: SeRestorePrivilege
361 privilege: SeShutdownPrivilege
362 privilege: SeInteractiveLogonRight
363 isCriticalSystemObject: TRUE
364
365 dn: CN=Account Operators,CN=Builtin,${DOMAINDN}
366 objectClass: top
367 objectClass: group
368 description: Members can administer domain user and group accounts
369 objectSid: S-1-5-32-548
370 adminCount: 1
371 sAMAccountName: Account Operators
372 systemFlags: -1946157056
373 groupType: -2147483643
374 privilege: SeInteractiveLogonRight
375 isCriticalSystemObject: TRUE
376
377 dn: CN=Pre-Windows 2000 Compatible Access,CN=Builtin,${DOMAINDN}
378 objectClass: top
379 objectClass: group
380 description: A backward compatibility group which allows read access on all users and groups in the domain
381 member: CN=S-1-5-11,CN=ForeignSecurityPrincipals,${DOMAINDN}
382 objectSid: S-1-5-32-554
383 sAMAccountName: Pre-Windows 2000 Compatible Access
384 systemFlags: -1946157056
385 groupType: -2147483643
386 privilege: SeRemoteInteractiveLogonRight
387 privilege: SeChangeNotifyPrivilege
388 isCriticalSystemObject: TRUE
389
390 dn: CN=Incoming Forest Trust Builders,CN=Builtin,${DOMAINDN}
391 objectClass: top
392 objectClass: group
393 description: Members of this group can create incoming, one-way trusts to this forest
394 objectSid: S-1-5-32-557
395 sAMAccountName: Incoming Forest Trust Builders
396 systemFlags: -1946157056
397 groupType: -2147483643
398 isCriticalSystemObject: TRUE
399
400 dn: CN=Windows Authorization Access Group,CN=Builtin,${DOMAINDN}
401 objectClass: top
402 objectClass: group
403 description: Members of this group have access to the computed tokenGroupsGlobalAndUniversal attribute on User objects
404 member: CN=S-1-5-9,CN=ForeignSecurityPrincipals,${DOMAINDN}
405 objectSid: S-1-5-32-560
406 sAMAccountName: Windows Authorization Access Group
407 systemFlags: -1946157056
408 groupType: -2147483643
409 isCriticalSystemObject: TRUE
410
411 dn: CN=Terminal Server License Servers,CN=Builtin,${DOMAINDN}
412 objectClass: top
413 objectClass: group
414 description: Terminal Server License Servers
415 objectSid: S-1-5-32-561
416 sAMAccountName: Terminal Server License Servers
417 systemFlags: -1946157056
418 groupType: -2147483643
419 isCriticalSystemObject: TRUE
420
421 dn: CN=Distributed COM Users,CN=Builtin,${DOMAINDN}
422 objectClass: top
423 objectClass: group
424 description: Members are allowed to launch, activate and use Distributed COM objects on this machine.
425 objectSid: S-1-5-32-562
426 sAMAccountName: Distributed COM Users
427 systemFlags: -1946157056
428 groupType: -2147483643
429 isCriticalSystemObject: TRUE
430
431 # Add well known security principals
432
433 dn: CN=WellKnown Security Principals,${CONFIGDN}
434 objectClass: top
435 objectClass: container
436 systemFlags: -2147483648
437
438 dn: CN=Anonymous Logon,CN=WellKnown Security Principals,${CONFIGDN}
439 objectClass: top
440 objectClass: foreignSecurityPrincipal
441 objectSid: S-1-5-7
442
443 dn: CN=Authenticated Users,CN=WellKnown Security Principals,${CONFIGDN}
444 objectClass: top
445 objectClass: foreignSecurityPrincipal
446 objectSid: S-1-5-11
447
448 dn: CN=Batch,CN=WellKnown Security Principals,${CONFIGDN}
449 objectClass: top
450 objectClass: foreignSecurityPrincipal
451 objectSid: S-1-5-3
452
453 dn: CN=Creator Group,CN=WellKnown Security Principals,${CONFIGDN}
454 objectClass: top
455 objectClass: foreignSecurityPrincipal
456 objectSid: S-1-3-1
457
458 dn: CN=Creator Owner,CN=WellKnown Security Principals,${CONFIGDN}
459 objectClass: top
460 objectClass: foreignSecurityPrincipal
461 objectSid: S-1-3-0
462
463 dn: CN=Dialup,CN=WellKnown Security Principals,${CONFIGDN}
464 objectClass: top
465 objectClass: foreignSecurityPrincipal
466 objectSid: S-1-5-1
467
468 dn: CN=Digest Authentication,CN=WellKnown Security Principals,${CONFIGDN}
469 objectClass: top
470 objectClass: foreignSecurityPrincipal
471 objectSid: S-1-5-64-21
472
473 dn: CN=Enterprise Domain Controllers,CN=WellKnown Security Principals,${CONFIGDN}
474 objectClass: top
475 objectClass: foreignSecurityPrincipal
476 objectSid: S-1-5-9
477
478 dn: CN=Everyone,CN=WellKnown Security Principals,${CONFIGDN}
479 objectClass: top
480 objectClass: foreignSecurityPrincipal
481 objectSid: S-1-1-0
482
483 dn: CN=Interactive,CN=WellKnown Security Principals,${CONFIGDN}
484 objectClass: top
485 objectClass: foreignSecurityPrincipal
486 objectSid: S-1-5-4
487
488 dn: CN=Local Service,CN=WellKnown Security Principals,${CONFIGDN}
489 objectClass: top
490 objectClass: foreignSecurityPrincipal
491 objectSid: S-1-5-19
492
493 dn: CN=Network,CN=WellKnown Security Principals,${CONFIGDN}
494 objectClass: top
495 objectClass: foreignSecurityPrincipal
496 objectSid: S-1-5-2
497
498 dn: CN=Network Service,CN=WellKnown Security Principals,${CONFIGDN}
499 objectClass: top
500 objectClass: foreignSecurityPrincipal
501 objectSid: S-1-5-20
502
503 dn: CN=NTLM Authentication,CN=WellKnown Security Principals,${CONFIGDN}
504 objectClass: top
505 objectClass: foreignSecurityPrincipal
506 objectSid: S-1-5-64-10
507
508 dn: CN=Other Organization,CN=WellKnown Security Principals,${CONFIGDN}
509 objectClass: top
510 objectClass: foreignSecurityPrincipal
511 objectSid: S-1-5-1000
512
513 dn: CN=Proxy,CN=WellKnown Security Principals,${CONFIGDN}
514 objectClass: top
515 objectClass: foreignSecurityPrincipal
516 objectSid: S-1-5-8
517
518 dn: CN=Remote Interactive Logon,CN=WellKnown Security Principals,${CONFIGDN}
519 objectClass: top
520 objectClass: foreignSecurityPrincipal
521 objectSid: S-1-5-14
522
523 dn: CN=Restricted,CN=WellKnown Security Principals,${CONFIGDN}
524 objectClass: top
525 objectClass: foreignSecurityPrincipal
526 objectSid: S-1-5-12
527
528 dn: CN=SChannel Authentication,CN=WellKnown Security Principals,${CONFIGDN}
529 objectClass: top
530 objectClass: foreignSecurityPrincipal
531 objectSid: S-1-5-64-14
532
533 dn: CN=Self,CN=WellKnown Security Principals,${CONFIGDN}
534 objectClass: top
535 objectClass: foreignSecurityPrincipal
536 objectSid: S-1-5-10
537
538 dn: CN=Service,CN=WellKnown Security Principals,${CONFIGDN}
539 objectClass: top
540 objectClass: foreignSecurityPrincipal
541 objectSid: S-1-5-6
542
543 dn: CN=Terminal Server User,CN=WellKnown Security Principals,${CONFIGDN}
544 objectClass: top
545 objectClass: foreignSecurityPrincipal
546 objectSid: S-1-5-13
547
548 dn: CN=This Organization,CN=WellKnown Security Principals,${CONFIGDN}
549 objectClass: top
550 objectClass: foreignSecurityPrincipal
551 objectSid: S-1-5-15
552
553 dn: CN=Well-Known-Security-Id-System,CN=WellKnown Security Principals,${CONFIGDN}
554 objectClass: top
555 objectClass: foreignSecurityPrincipal
556 objectSid: S-1-5-18