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 | [global]
# Einstellungen fuer den Rechner selbst
workgroup = TECHNO1
netbios name = nrg
security = user
# Einstellungen fuer die domain
local master = yes
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
logon path = \\nrg\profiles\.msprofile
logon home = \\nrg\%U\.9xprofile
logon drive = P:
wins support = yes
name resolve order = wins lmhosts hosts bcast
# wins server = 141.58.165.29
time server = yes
admin users = gierenml
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
passdb backend = smbpasswd
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
# Druckereinstellungen
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
# Rechner mit dynamischer IP per DHCP werden ausgesperrt
hosts deny = 141.58.165.31, 141.58.165.32, 141.58.165.33, 141.58.165.34, 141.58.165.35, 141.58.165.36, 141.58.165.37, 141.58.165.38, 141.58.165.39, 141.58.165.42,
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = yes
[profiles]
comment = Network Profiles Service
path = %H
store dos attributes = yes
create mask = 0600
directory mask = 0700
browseable = no
writeable = yes
read only = No
[users]
comment = All users
path = /home
read only = No
inherit acls = yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = yes
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netlogon]
comment = Network Logon Service
browseable = no
path = /var/lib/samba/netlogon
writeable = no
read only = yes
write list = root
[institut]
comment = institut
directory mask = 0770
create mask = 0770
inherit acls = yes
path = /institut
read only = No
[dvd-laufwerk]
comment = dvd-laufwerk-nrg
path = ///media/Duden_1
#write only = no
|