Ik heb afgelopen weekend mijn server opnieuw geinstalleerd en vanavond was de beurt aan samba. Enfin, gedownload, geconfigureerd, gecompileerd etc etc.
Nu heb ik in smb.conf een aantal shares gemaakt, geen probleem, ze werken precies zoals het moet. Maar als ik in windows in 'my network places' kijk dan zie ik nog twee home directories (ook niet van alle users, maar slechts van twee) die apart geshared staan.
WTF? Dit heb ik niet in mijn smb.conf geconfigureerd.
Google Groups gaf weinig antwoorden dus ik vroeg me af of iemand weet waarom Samba shares heeft die niet in smb.conf staan. Ik wil ze dus ook graag weg hebben want ik kan zelf die home shares wel aanmaken en ik houd er niet van dat er iets gebeurt zonder dat ik dat instel. Zeker niet als het mijn files betreft.
Onderstaand smb.conf. Het is de enige smb.conf op het systeem.
Nu heb ik in smb.conf een aantal shares gemaakt, geen probleem, ze werken precies zoals het moet. Maar als ik in windows in 'my network places' kijk dan zie ik nog twee home directories (ook niet van alle users, maar slechts van twee) die apart geshared staan.
WTF? Dit heb ik niet in mijn smb.conf geconfigureerd.
Google Groups gaf weinig antwoorden dus ik vroeg me af of iemand weet waarom Samba shares heeft die niet in smb.conf staan. Ik wil ze dus ook graag weg hebben want ik kan zelf die home shares wel aanmaken en ik houd er niet van dat er iets gebeurt zonder dat ik dat instel. Zeker niet als het mijn files betreft.
Onderstaand smb.conf. Het is de enige smb.conf op het systeem.
code:
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
| [global]
# Reduce the overhead that Samba uses to scan for timeouts
change notify timeout = 300
# Open files with no connections are closed after 15 minutes
deadtime = 15
# Files that have UNIX permissions that prohibit access are hidden from users
hide unreadable = yes
# We only allow access from these hosts with one exception
hosts allow = 10.0.0.0/255.255.255.0 127.0.0.1
# Only serve on this interface
interfaces = 10.0.0.1
# All other hosts are denied access
hosts deny = ALL
# The root user is not allowed access
invalid users = root
# All our computers are Windows XP
lanman auth = no
# We don't have any OS/2 clients
lm announce = no
# We log all activity to multiple logfiles depending on the
# NetBIOS name of the computer
log file = /var/log/samba/%m.log
# We want a minimum level of logging
log level = 1
# Again, all our clients are Windows XP
min protocol = NT1
# What NetBIOS name does our server call itself?
netbios name = Jester
# We don't want to compete for browse master elections - we win always
os level = 255
# We want to initiate a browse master election (probably unnecessary)
# preferred master = yes
# We rely on username/password access methods
security = user
# Encrypt passwords
encrypt passwords = no
# password location file
smb passwd file = /usr/local/samba/private/smbpasswd
# We're on a Local Area Network, so these settings are appropriate
socket options = TCP_NODELAY SO_RCVBUF=8192 IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# We allow clients to set their clock to ours using the NET TIME parameter
time server = yes
# Do we provide WINS support?
wins support = no
# What NetBIOS name does our server use for our domain/workgroup?
workgroup = WORKGROUP
#shares config start
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[project]
comment = IIE Project Files
path = /project
admin users = jaap piet
read only = no
writeable = yes
create mask = 0755
public = no
browseable = no
[data]
comment = Data Files
path = /data
admin users = jan jaap piet
read only = no
writeable = yes
create mask = 0755
public = no
browseable = no |