c59c421b7f93aa3ccc815b6017457426844ab1d8
[ira/wip.git] / source4 / setup / provision_self_join.ldif
1 # Join the DC to itself
2
3 dn: CN=${NETBIOSNAME},OU=Domain Controllers,${DOMAINDN}
4 objectClass: top
5 objectClass: person
6 objectClass: organizationalPerson
7 objectClass: user
8 objectClass: computer
9 userAccountControl: 532480
10 localPolicyFlags: 0
11 primaryGroupID: 516
12 accountExpires: 9223372036854775807
13 sAMAccountName: ${NETBIOSNAME}$
14 operatingSystem: Samba
15 operatingSystemVersion: ${SAMBA_VERSION_STRING}
16 dNSHostName: ${DNSNAME}
17 userPassword:: ${MACHINEPASS_B64}
18 servicePrincipalName: HOST/${DNSNAME}
19 servicePrincipalName: HOST/${NETBIOSNAME}
20 servicePrincipalName: HOST/${DNSNAME}/${REALM}
21 servicePrincipalName: HOST/${NETBIOSNAME}/${REALM}
22 servicePrincipalName: HOST/${DNSNAME}/${DOMAIN}
23 servicePrincipalName: HOST/${NETBIOSNAME}/${DOMAIN}
24 isCriticalSystemObject: TRUE
25
26 #Provide a account for DNS keytab export
27 dn: CN=dns,CN=Users,${DOMAINDN}
28 objectClass: top
29 objectClass: person
30 objectClass: organizationalPerson
31 objectClass: user
32 description: DNS Service Account
33 userAccountControl: 514
34 accountExpires: 9223372036854775807
35 sAMAccountName: dns
36 servicePrincipalName: DNS/${DNSDOMAIN}
37 userPassword:: ${DNSPASS_B64}
38 isCriticalSystemObject: TRUE
39
40 dn: ${SERVERDN}
41 objectClass: top
42 objectClass: server
43 systemFlags: 1375731712
44 dNSHostName: ${DNSNAME}
45 serverReference: CN=${NETBIOSNAME},OU=Domain Controllers,${DOMAINDN}
46
47 dn: CN=NTDS Settings,${SERVERDN}
48 objectClass: top
49 objectClass: applicationSettings
50 objectClass: nTDSDSA
51 options: 1
52 systemFlags: 33554432
53 dMDLocation: ${SCHEMADN}
54 invocationId: ${INVOCATIONID}
55 msDS-Behavior-Version: ${DOMAIN_CONTROLLER_FUNCTIONALITY}
56 msDS-hasMasterNCs: ${CONFIGDN}
57 msDS-hasMasterNCs: ${SCHEMADN}
58 msDS-hasMasterNCs: ${DOMAINDN}
59 hasMasterNCs: ${CONFIGDN}
60 hasMasterNCs: ${SCHEMADN}
61 hasMasterNCs: ${DOMAINDN}