Samba config file created using SWAT from UNKNOWN no Date 2009 08 14 1

 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
# Samba config file created using SWAT
# from UNKNOWN (v��O���p�P�n�X���no���p��H)
# Date: 2009/08/14 15:56:55
[global]
netbios name = HOMESAMBA
server string = HomeSamba
interfaces = eth1
bind interfaces only = Yes
security = SHARE
encrypt password = yes
smb passwd file = /etc/samba/smbpasswd
# cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
# chmod 600 /etc/samba/smbpasswd
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
os level = 65
preferred master = Yes
domain master = No
dns proxy = No
usershare max shares = 100
guest ok = Yes
cups options = raw
workgroup = WORKGROUP
wins support = no
domain logons = no
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[printers]
comment = All Printers
path = /var/tmp
print command = lpr-cups -P %p -o raw %s -r
lpq command = lpq -P %p
lprm command = cancel %p-%j
create mask = 0600
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
[music]
path = /media/Data/music
read only = Yes
[univer]
path = /media/Data/универ
create mask = 0765
guest ok = No
writeable = Yes
[video]
path = /media/Data/video
read only = Yes
[serials]
path = /media/Data/serials
read only = Yes
[Data]
path = /media/Data
valid users = kostyan
creat mask = 0765
guest ok = No
[games]
path = /media/Data/games
read only = Yes
[os]
path = /media/Data/OS
read only = Yes
[sql]
path = /media/Data/SQL
read only = yes