r25759: catch up the samba3sam tests with the change from cn=rootdse to @ROOTDSE
[ira/wip.git] / testdata / samba3 / provision_samba3sam.ldif
1 dn: @INDEXLIST
2 @IDXATTR: name
3 @IDXATTR: sAMAccountName
4 @IDXATTR: objectSid
5 @IDXATTR: objectClass
6 @IDXATTR: objectCategory
7 @IDXATTR: member
8 @IDXATTR: uidNumber
9 @IDXATTR: gidNumber
10 @IDXATTR: unixName
11 @IDXATTR: privilege
12 @IDXATTR: nCName
13
14 dn: @ATTRIBUTES
15 userPrincipalName: CASE_INSENSITIVE
16 servicePrincipalName: CASE_INSENSITIVE
17 dnsDomain: CASE_INSENSITIVE
18 dnsRoot: CASE_INSENSITIVE
19 nETBIOSName: CASE_INSENSITIVE
20 cn: CASE_INSENSITIVE
21 dc: CASE_INSENSITIVE
22 name: CASE_INSENSITIVE
23 dn: CASE_INSENSITIVE
24 sAMAccountName: CASE_INSENSITIVE
25 objectClass: CASE_INSENSITIVE
26 sambaPassword: HIDDEN
27 krb5Key: HIDDEN
28 ntPwdHash: HIDDEN
29 sambaNTPwdHistory: HIDDEN
30 lmPwdHash: HIDDEN
31 sambaLMPwdHistory: HIDDEN
32 createTimestamp: HIDDEN
33 modifyTimestamp: HIDDEN
34 groupType: INTEGER
35 sAMAccountType: INTEGER
36 systemFlags: INTEGER
37 userAccountControl: INTEGER
38
39 dn: @SUBCLASSES
40 top: domain
41 top: person
42 top: group
43 domain: domainDNS
44 domain: builtinDomain
45 person: organizationalPerson
46 organizationalPerson: user
47 user: computer
48 template: userTemplate
49 template: groupTemplate
50
51 dn: @KLUDGEACL
52 passwordAttribute: sambaPassword
53 passwordAttribute: ntPwdHash
54 passwordAttribute: sambaNTPwdHistory
55 passwordAttribute: lmPwdHash
56 passwordAttribute: sambaLMPwdHistory
57 passwordAttribute: krb5key
58
59 # the rootDSE module looks in this record for its base data
60 dn: @ROOTDSE
61 subschemaSubentry: CN=Aggregate,CN=Schema,CN=Configuration,${BASEDN}
62 dsServiceName: CN=NTDS Settings,CN=${NETBIOSNAME},CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,${BASEDN}
63 defaultNamingContext: ${BASEDN}
64 rootDomainNamingContext: ${BASEDN}
65 configurationNamingContext: CN=Configuration,${BASEDN}
66 schemaNamingContext: CN=Schema,CN=Configuration,${BASEDN}
67 supportedLDAPVersion: 3
68 dnsHostName: ${DNSNAME}
69 ldapServiceName: ${DNSDOMAIN}:${NETBIOSNAME}$@${REALM}
70 serverName: CN=${NETBIOSNAME},CN=Servers,CN=Default-First-Site,CN=Sites,CN=Configuration,${BASEDN}
71 domainFunctionality: 0
72 forestFunctionality: 0
73 domainControllerFunctionality: 2
74 isSynchronized: TRUE
75 vendorName: Samba Team (http://samba.org)
76 vendorVersion: ${VERSION}
77
78 dn: CN=Templates
79 objectClass: top
80 objectClass: container
81 cn: Templates
82 description: Container for SAM account templates
83 instanceType: 4
84 showInAdvancedViewOnly: TRUE
85 systemFlags: 2348810240
86 objectCategory: CN=Container,CN=Schema,CN=Configuration,${BASEDN}
87 isCriticalSystemObject: TRUE
88
89 ###
90 # note! the template users must not match normal searches. Be careful
91 # with what classes you put them in
92 ###
93
94 dn: CN=TemplateUser,CN=Templates
95 objectClass: top
96 objectClass: person
97 objectClass: organizationalPerson
98 objectClass: Template
99 objectClass: userTemplate
100 cn: TemplateUser
101 instanceType: 4
102 userAccountControl: 514
103 badPwdCount: 0
104 codePage: 0
105 countryCode: 0
106 badPasswordTime: 0
107 lastLogoff: 0
108 lastLogon: 0
109 pwdLastSet: 0
110 primaryGroupID: 513
111 accountExpires: -1
112 logonCount: 0
113 sAMAccountType: 805306368
114 objectCategory: CN=Person,CN=Schema,CN=Configuration,${BASEDN}
115
116 dn: CN=TemplateComputer,CN=Templates
117 objectClass: top
118 objectClass: person
119 objectClass: organizationalPerson
120 objectClass: Template
121 objectClass: userTemplate
122 cn: TemplateComputer
123 instanceType: 4
124 userAccountControl: 4098
125 badPwdCount: 0
126 codePage: 0
127 countryCode: 0
128 badPasswordTime: 0
129 lastLogoff: 0
130 lastLogon: 0
131 pwdLastSet: 0
132 primaryGroupID: 513
133 accountExpires: -1
134 logonCount: 0
135 sAMAccountType: 805306369
136 objectCategory: CN=Computer,CN=Schema,CN=Configuration,${BASEDN}
137
138 dn: CN=TemplateTrustingDomain,CN=Templates
139 objectClass: top
140 objectClass: Template
141 objectClass: userTemplate
142 cn: TemplateTrustingDomain
143 instanceType: 4
144 userAccountControl: 2080
145 badPwdCount: 0
146 codePage: 0
147 countryCode: 0
148 badPasswordTime: 0
149 lastLogoff: 0
150 lastLogon: 0
151 primaryGroupID: 513
152 accountExpires: -1
153 logonCount: 0
154 sAMAccountType: 805306370
155
156 dn: CN=TemplateGroup,CN=Templates
157 objectClass: top
158 objectClass: Template
159 objectClass: groupTemplate
160 cn: TemplateGroup
161 instanceType: 4
162 groupType: -2147483646
163 sAMAccountType: 268435456
164 objectCategory: CN=Group,CN=Schema,CN=Configuration,${BASEDN}
165
166 # Currently this isn't used, we don't have a way to detect it different from an incoming alias
167 #
168 # dn: CN=TemplateAlias,CN=Templates
169 # objectClass: top
170 # objectClass: Template
171 # objectClass: aliasTemplate
172 # cn: TemplateAlias
173 # instanceType: 4
174 # groupType: -2147483644
175 # sAMAccountType: 268435456
176
177 dn: CN=TemplateForeignSecurityPrincipal,CN=Templates
178 objectClass: top
179 objectClass: Template
180 objectClass: foreignSecurityPrincipalTemplate
181 cn: TemplateForeignSecurityPrincipal
182 instanceType: 4
183 showInAdvancedViewOnly: TRUE
184 objectCategory: CN=Foreign-Security-Principal,CN=Schema,CN=Configuration,${BASEDN}
185
186 dn: CN=TemplateSecret,CN=Templates
187 objectClass: top
188 objectClass: leaf
189 objectClass: Template
190 objectClass: secretTemplate
191 cn: TemplateSecret
192 instanceType: 4
193
194 dn: CN=TemplateTrustedDomain,CN=Templates
195 objectClass: top
196 objectClass: leaf
197 objectClass: Template
198 objectClass: trustedDomainTemplate
199 cn: TemplateTrustedDomain
200 instanceType: 4
201