This file is indexed.

/etc/ldap/samba.ldif is in debian-edu-config 1.702.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
# moved to root.ldif
#dn: ou=samba,dc=skole,dc=skolelinux,dc=no
#objectClass: top
#objectClass: organizationalUnit
#ou: samba

# will get created when issuing ,,net getlocalsid'' command
#dn: sambaDomainName=SKOLELINUX,ou=samba,dc=skole,dc=skolelinux,dc=no
#objectClass: sambaDomain
#sambaDomainName: SKOLELINUX
#sambaSID: $SAMBASID
#sambaAlgorithmicRidBase: 1000
#sambaNextRid: 1003

# deprecated in favour of uid=Administrator, cf. below
#dn: uid=root,ou=samba,dc=skole,dc=skolelinux,dc=no
#objectClass: account
#objectClass: sambaSamAccount
#uid: root
#sambaSID: $SAMBASID-1000

# moved to root.ldif
#dn: cn=smbadmin,ou=samba,dc=skole,dc=skolelinux,dc=no
#objectClass: top
#objectClass: organizationalRole
#objectClass: simpleSecurityObject
#cn: smbadmin
#description: Samba Administrator
#userPassword: $SAMBAPWDHASH

# used by /etc/samba/smbaddclient.pl, deprecated
#dn: cn=systems,ou=group,dc=skole,dc=skolelinux,dc=no
#objectClass: top
#objectClass: posixGroup
#cn: machines
#description: All computer that are allowed to join the skolelinux SMB domain
#gidNumber: 10006

##
## BUILTIN Samba users, hidden from GOsa², accessible via Samba utils
##

dn: ou=people,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: organizationalUnit
ou: people

dn: uid=Administrator,ou=people,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: account
objectClass: posixAccount
objectClass: sambaSamAccount
uid: Administrator
cn: Administrator
displayName: Administrator
uidNumber: 50500
gidNumber: 50512
loginShell: /bin/false
homeDirectory: /dev/null
sambaSID: $SAMBASID-500
sambaPrimaryGroupSID: $SAMBASID-512
sambaLMPassword: $SAMBA_ADMPWD_LMHASH
sambaNTPassword: $SAMBA_ADMPWD_NTHASH
sambaPasswordHistory: 0000000000000000000000000000000000000000000000000000000000000000
sambaPwdLastSet: 1314220464
sambaAcctFlags: [UD         ]

dn: uid=nobody,ou=people,ou=samba,dc=skole,dc=skolelinux,dc=no
cn: nobody
objectClass: account
objectClass: sambaSamAccount
objectClass: posixAccount
uid: nobody
uidNumber: 65534
gidNumber: 65534
loginShell: /bin/false
homeDirectory: /dev/null
sambaPwdLastSet: 0
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
sambaPrimaryGroupSID: $SAMBASID-514
sambaLMPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
sambaNTPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
sambaAcctFlags: [NU         ]
sambaSID: $SAMBASID-501

##
## Samba ID mapping for smbldap-tools, intended for machine accounts only
##

dn: ou=idmap,ou=samba,dc=skole,dc=skolelinux,dc=no
ou: idmap
objectClass: organizationalUnit
objectClass: sambaUnixIdPool
uidNumber: 51000
gidNumber: 51000

##
## BUILTIN Samba groups, hidden from GOsa², accessible via Samba utils
##

dn: ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: organizationalUnit
ou: group

dn: cn=administrators,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaGroupType: 2
sambaSID: $SAMBASID-544
cn: administrators
memberUid: Administrator
description: BUILTIN/Administrators
displayName: BUILTIN/Administrators
gidNumber: 50544

dn: cn=users,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaGroupType: 2
sambaSID: $SAMBASID-545
cn: users
description: BUILTIN/Users
displayName: BUILTIN/Users
gidNumber: 50545

dn: cn=guests,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
memberUid: nobody
sambaGroupType: 2
sambaSID: $SAMBASID-546
cn: guests
description: BUILTIN/Guests
displayName: BUILTIN/Guests
gidNumber: 50546

dn: cn=power-users,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaGroupType: 2
sambaSID: $SAMBASID-547
cn: power-users
description: BUILTIN/Power Users
displayName: BUILTIN/Power Users
gidNumber: 50547

dn: cn=account-operators,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaGroupType: 2
sambaSID: $SAMBASID-548
cn: account-operators
description: BUILTIN/Account Operators
displayName: BUILTIN/Account Operators
gidNumber: 50548

dn: cn=server-operators,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
sambaGroupType: 2
cn: server-operators
description: SAMBA Domain Server Operators
sambaSID: $SAMBASID-549
objectClass: posixGroup
objectClass: top
objectClass: sambaGroupMapping
displayName: SAMBA Domain Server Operators
gidNumber: 50549

dn: cn=print-operators,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaGroupType: 2
sambaSID: $SAMBASID-550
cn: print-operators
description: BUILTIN/Print Operators
displayName: BUILTIN/Print Operators
gidNumber: 50550

dn: cn=backup-operators,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaGroupType: 2
sambaSID: $SAMBASID-551
cn: backup-operators
description: BUILTIN/Backup Operators
displayName: BUILTIN/Backup Operators
gidNumber: 50551

dn: cn=replicators,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
sambaSID: $SAMBASID-552
sambaGroupType: 5
cn: replicators
description: BUILTIN/Replicators
displayName: BUILTIN/Replicators
gidNumber: 50552

# Samba DOMAIN groups, visible to and editable by GOsa² -> created in root.ldif
#dn: ou=group,dc=skole,dc=skolelinux,dc=no
#objectClass: organizationalUnit
#ou: group

dn: cn=domain-admins,ou=group,dc=skole,dc=skolelinux,dc=no
description: SAMBA Domain Administrators
sambaSID: $SAMBASID-512
sambaGroupType: 2
cn: domain-admins
objectClass: posixGroup
objectClass: top
objectClass: sambaGroupMapping
displayName: SAMBA Domain Administrators
gidNumber: 50512

dn: cn=domain-users,ou=group,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
description: SAMBA Domain Users
sambaSID: $SAMBASID-513
sambaGroupType: 2
cn: domain-users
displayName: SAMBA Domain Users
gidNumber: 50513

dn: cn=domain-guests,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
objectClass: posixGroup
objectClass: sambaGroupMapping
description: SAMBA Domain Guest Users
sambaSID: $SAMBASID-514
sambaGroupType: 2
displayName: SAMBA Domain Guest Users
gidNumber: 65534
cn: domain-guests

dn: cn=domain-computers,ou=group,ou=samba,dc=skole,dc=skolelinux,dc=no
sambaSID: $SAMBASID-553
sambaGroupType: 2
displayName: SAMBA Domain Computers
cn: domain-computers
description: SAMBA Domain Computer Accounts
objectClass: posixGroup
objectClass: top
objectClass: sambaGroupMapping
gidNumber: 50553

#
# The SAMBA SID calculation for groups is Group RID = GID*2 + 1001
#
dn: cn=admins,ou=group,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: admins
description: All system administrators in the institution
gidNumber: 10001
sambaSID: $SAMBASID-21003
sambaGroupType: 2
displayName: Domain Admins

dn: cn=jradmins,ou=group,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: jradmins
description: All junior admins in the institution
gidNumber: 10002
sambaSID: $SAMBASID-21005
sambaGroupType: 2
displayName: jradmins

dn: cn=nonetblk,ou=group,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: nonetblk
description: Users that should be unaffected by network blocking
gidNumber: 10005
sambaSID: $SAMBASID-21006
sambaGroupType: 2
displayName: nonetblk

#
# For more information on Samba/Posix group mappings refer to
# http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html#WKURIDS
# for more information.
#

#
# Groups and user templates for teachers and students...
#

dn: cn=teachers,ou=group,ou=Teachers,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: teachers
description: group of all teachers
gidNumber: 10003
memberUid: newteacher
memberUid: $FIRSTUSERNAME
sambaSID: $SAMBASID-21007
sambaGroupType: 2

## predefine template newteacher:
dn: uid=newteacher,ou=people,ou=Teachers,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: gosaAccount
objectClass: gosaUserTemplate
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaSamAccount
sn: NewTeacher
givenName: NewTeacher
uid: newteacher
cn: NewTeacher NewTeacher
userPassword: {SSHA}N0T$3T4N0W
homeDirectory: /skole/tjener/home0/%uid
loginShell: /bin/bash
uidNumber: 1001
gidNumber: 1001
gecos: NewTeacher NewTeacher
shadowLastChange: 14818
sambaSID: $SAMBASID-3002
sambaAcctFlags: [UX          ]
sambaHomePath: \\tjener\%uid
sambaHomeDrive: H:
sambaProfilePath: \\tjener\%uid\.ntprofile
sambaLogonScript: logon-teachers.bat
sambaPrimaryGroupSID: $SAMBASID-3003
sambaDomainName: SKOLELINUX
sambaMungedDial: IAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAUAAQABoACAABAEMAdAB4AEMAZgBnAFAAcgBlAHMAZQBuAHQANTUxZTBiYjAYAAgAAQBDAHQAeABDAGYAZwBGAGwAYQBnAHMAMQAwMGUwMDAxMBYAAAABAEMAdAB4AEMAYQBsAGwAYgBhAGMAawASAAgAAQBDAHQAeABTAGgAYQBkAG8AdwAwMTAwMDAwMCIAAAABAEMAdAB4AEsAZQB5AGIAbwBhAHIAZABMAGEAeQBvAHUAdAAqAAIAAQBDAHQAeABNAGkAbgBFAG4AYwByAHkAcAB0AGkAbwBuAEwAZQB2AGUAbAAwMCAAAgABAEMAdAB4AFcAbwByAGsARABpAHIAZQBjAHQAbwByAHkAMDAgAAIAAQBDAHQAeABOAFcATABvAGcAbwBuAFMAZQByAHYAZQByADAwGAACAAEAQwB0AHgAVwBGAEgAbwBtAGUARABpAHIAMDAiAAIAAQBDAHQAeABXAEYASABvAG0AZQBEAGkAcgBEAHIAaQB2AGUAMDAgAAIAAQBDAHQAeABXAEYAUAByAG8AZgBpAGwAZQBQAGEAdABoADAwIgACAAEAQwB0AHgASQBuAGkAdABpAGEAbABQAHIAbwBnAHIAYQBtADAwIgACAAEAQwB0AHgAQwBhAGwAbABiAGEAYwBrAE4AdQBtAGIAZQByADAwKAAIAAEAQwB0AHgATQBhAHgAQwBvAG4AbgBlAGMAdABpAG8AbgBUAGkAbQBlADAwMDAwMDAwLgAIAAEAQwB0AHgATQBhAHgARABpAHMAYwBvAG4AbgBlAGMAdABpAG8AbgBUAGkAbQBlADAwMDAwMDAwHAAIAAEAQwB0AHgATQBhAHgASQBkAGwAZQBUAGkAbQBlADAwMDAwMDAw

dn: cn=newteacher,ou=group,ou=Teachers,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: newteacher
description: Group of user newteacher newteacher
gidNumber: 1001
sambaSID: $SAMBASID-3003
sambaGroupType: 2

dn: cn=students,ou=group,ou=Students,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: students
description: group of all students
gidNumber: 10004
memberUid: newstudent
memberUid: newteacher
sambaSID: $SAMBASID-21009
sambaGroupType: 2

## predefine template newstudent:
dn: uid=newstudent,ou=people,ou=Students,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: gosaAccount
objectClass: gosaUserTemplate
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaSamAccount
sn: NewStudent
givenName: NewStudent
uid: newstudent
cn: NewStudent NewStudent
userPassword: {SSHA}N0T$3T4N0W
homeDirectory: /skole/tjener/home0/%uid
loginShell: /bin/bash
uidNumber: 1002
gidNumber: 1002
gecos: NewStudent NewStudent
shadowLastChange: 14818
sambaSID: $SAMBASID-3004
sambaAcctFlags: [UX          ]
sambaHomePath: \\tjener\%uid
sambaHomeDrive: H:
sambaProfilePath: \\tjener\%uid\.ntprofile
sambaLogonScript: logon-students.bat
sambaPrimaryGroupSID: $SAMBASID-3003
sambaDomainName: SKOLELINUX
sambaMungedDial: IAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAUAAQABoACAABAEMAdAB4AEMAZgBnAFAAcgBlAHMAZQBuAHQANTUxZTBiYjAYAAgAAQBDAHQAeABDAGYAZwBGAGwAYQBnAHMAMQAwMGUwMDAxMBYAAAABAEMAdAB4AEMAYQBsAGwAYgBhAGMAawASAAgAAQBDAHQAeABTAGgAYQBkAG8AdwAwMTAwMDAwMCIAAAABAEMAdAB4AEsAZQB5AGIAbwBhAHIAZABMAGEAeQBvAHUAdAAqAAIAAQBDAHQAeABNAGkAbgBFAG4AYwByAHkAcAB0AGkAbwBuAEwAZQB2AGUAbAAwMCAAAgABAEMAdAB4AFcAbwByAGsARABpAHIAZQBjAHQAbwByAHkAMDAgAAIAAQBDAHQAeABOAFcATABvAGcAbwBuAFMAZQByAHYAZQByADAwGAACAAEAQwB0AHgAVwBGAEgAbwBtAGUARABpAHIAMDAiAAIAAQBDAHQAeABXAEYASABvAG0AZQBEAGkAcgBEAHIAaQB2AGUAMDAgAAIAAQBDAHQAeABXAEYAUAByAG8AZgBpAGwAZQBQAGEAdABoADAwIgACAAEAQwB0AHgASQBuAGkAdABpAGEAbABQAHIAbwBnAHIAYQBtADAwIgACAAEAQwB0AHgAQwBhAGwAbABiAGEAYwBrAE4AdQBtAGIAZQByADAwKAAIAAEAQwB0AHgATQBhAHgAQwBvAG4AbgBlAGMAdABpAG8AbgBUAGkAbQBlADAwMDAwMDAwLgAIAAEAQwB0AHgATQBhAHgARABpAHMAYwBvAG4AbgBlAGMAdABpAG8AbgBUAGkAbQBlADAwMDAwMDAwHAAIAAEAQwB0AHgATQBhAHgASQBkAGwAZQBUAGkAbQBlADAwMDAwMDAw

dn: cn=newstudent,ou=group,ou=Students,dc=skole,dc=skolelinux,dc=no
objectClass: top
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: newstudent
description: Group of user newstudent newstudent
gidNumber: 1002
sambaSID: $SAMBASID-3005
sambaGroupType: 2