r12427: Move SAMR CreateUser2 to transactions, and re-add support for
[samba.git] / source / setup / provision_templates.ldif
1 dn: CN=Templates,${BASEDN}
2 objectClass: top
3 objectClass: container
4 cn: Templates
5 description: Container for SAM account templates
6 instanceType: 4
7 uSNCreated: 1
8 uSNChanged: 1
9 showInAdvancedViewOnly: TRUE
10 systemFlags: 0x8c000000
11 objectCategory: CN=Container,CN=Schema,CN=Configuration,${BASEDN}
12 isCriticalSystemObject: TRUE
13
14 ###
15 # note! the template users must not match normal searches. Be careful
16 # with what classes you put them in
17 ###
18
19 dn: CN=TemplateUser,CN=Templates,${BASEDN}
20 objectClass: top
21 objectClass: person
22 objectClass: organizationalPerson
23 objectClass: Template
24 objectClass: userTemplate
25 cn: TemplateUser
26 instanceType: 4
27 userAccountControl: 0x202
28 badPwdCount: 0
29 codePage: 0
30 countryCode: 0
31 badPasswordTime: 0
32 lastLogoff: 0
33 lastLogon: 0
34 pwdLastSet: 0
35 primaryGroupID: 513
36 accountExpires: -1
37 logonCount: 0
38 sAMAccountType: 0x30000000
39 objectCategory: CN=Person,CN=Schema,CN=Configuration,${BASEDN}
40
41 dn: CN=TemplateServer,CN=Templates,${BASEDN}
42 objectClass: top
43 objectClass: Template
44 objectClass: userTemplate
45 cn: TemplateServer
46 instanceType: 4
47 userAccountControl: 0x1002
48 badPwdCount: 0
49 codePage: 0
50 countryCode: 0
51 badPasswordTime: 0
52 lastLogoff: 0
53 lastLogon: 0
54 pwdLastSet: 0
55 primaryGroupID: 513
56 accountExpires: -1
57 logonCount: 0
58 sAMAccountType: 0x30000001
59 objectCategory: CN=Computer,CN=Schema,CN=Configuration,${BASEDN}
60
61 dn: CN=TemplateTrustingDomain,CN=Templates,${BASEDN}
62 objectClass: top
63 objectClass: Template
64 objectClass: userTemplate
65 cn: TemplateTrustingDomain
66 instanceType: 4
67 userAccountControl: 0x820
68 badPwdCount: 0
69 codePage: 0
70 countryCode: 0
71 badPasswordTime: 0
72 lastLogoff: 0
73 lastLogon: 0
74 pwdLastSet: 0
75 primaryGroupID: 513
76 accountExpires: -1
77 logonCount: 0
78 sAMAccountType: 0x30000002
79
80 dn: CN=TemplateGroup,CN=Templates,${BASEDN}
81 objectClass: top
82 objectClass: Template
83 objectClass: groupTemplate
84 cn: TemplateGroup
85 instanceType: 4
86 groupType: 0x80000002
87 sAMAccountType: 0x10000000
88 objectCategory: CN=Group,CN=Schema,CN=Configuration,${BASEDN}
89
90 dn: CN=TemplateAlias,CN=Templates,${BASEDN}
91 objectClass: top
92 objectClass: Template
93 objectClass: aliasTemplate
94 cn: TemplateAlias
95 instanceType: 4
96 groupType: 0x80000004
97 sAMAccountType: 0x10000000
98
99 dn: CN=TemplateForeignSecurityPrincipal,CN=Templates,${BASEDN}
100 objectClass: top
101 objectClass: Template
102 objectClass: foreignSecurityPrincipalTemplate
103 cn: TemplateForeignSecurityPrincipal
104 instanceType: 4
105 showInAdvancedViewOnly: TRUE
106 objectCategory: CN=Foreign-Security-Principal,CN=Schema,CN=Configuration,${BASEDN}
107
108 dn: CN=TemplateSecret,CN=Templates,${BASEDN}
109 objectClass: top
110 objectClass: leaf
111 objectClass: Template
112 objectClass: secretTemplate
113 cn: TemplateSecret
114 instanceType: 4
115
116 dn: CN=TemplateTrustedDomain,CN=Templates,${BASEDN}
117 objectClass: top
118 objectClass: leaf
119 objectClass: Template
120 objectClass: trustedDomainTemplate
121 cn: TemplateTrustedDomain
122 instanceType: 4
123