prophotodx
Technical User
- Jan 20, 2003
- 147
I am setting up a server under FC3 with the stock version of Samba. The problem I am having is that all users are able to access all shares. This is bad and not intended. I am currently logged in as studiopc and I am able to access the crsuser shares. My smb.conf is below. PLEASE HELP! THANX!
[global]
workgroup = VISTECH
netbios name = KINGKONG
server string = KingKong File Server
interfaces = eth0, eth1, lo
security = user
bind interfaces only = yes
log file = /var/log/samba/%m
[LANPublicFiles]
path = /mnt/raid/lanpublicfiles/
comment = LAN Public Files
guest ok = Yes
read only = No
force user = guest
force group = guest
null passwords = yes
[Databases]
path = /mnt/raid/Databases/
force user = studiopc
comment = VTIDatabases
read only = No
[CRSDatabase]
path = /mnt/raid/CRSDatabase/
read only = no
force user = crsuser
comment = CRSDatabase
[VTIDocuments]
path = /mnt/raid/VTIDocuments/
read only = no
force user = studiopc
comment = VTIDocuments
DBX
(Try it my way, it might work...)
[global]
workgroup = VISTECH
netbios name = KINGKONG
server string = KingKong File Server
interfaces = eth0, eth1, lo
security = user
bind interfaces only = yes
log file = /var/log/samba/%m
[LANPublicFiles]
path = /mnt/raid/lanpublicfiles/
comment = LAN Public Files
guest ok = Yes
read only = No
force user = guest
force group = guest
null passwords = yes
[Databases]
path = /mnt/raid/Databases/
force user = studiopc
comment = VTIDatabases
read only = No
[CRSDatabase]
path = /mnt/raid/CRSDatabase/
read only = no
force user = crsuser
comment = CRSDatabase
[VTIDocuments]
path = /mnt/raid/VTIDocuments/
read only = no
force user = studiopc
comment = VTIDocuments
DBX
(Try it my way, it might work...)