Hello, I'm a bit new to linux as a whole although I'm starting to get into it after configuring most of my server.

I'm trying to configure Samba to work with multiple users and I just can't get it to work. I can't seem to find a guide that does what I want it to do.

I want to have several users on the LAN being able to access a shared folder, without them having any private home directories. We have our VPN clients set up so we can access these files anywhere really. I do have other users connected that should not be able to view these files so I do need some kind of user restriction.

I read up about the smb.conf and what I did was I created the usergroup storageusers and the user smbeveryone. I then used force user and force group for these, I also map all users from the group storageusers to the user smbeveryone so there is no difference in who owns a file. I'll post the smb.conf file but just wondering if this is the correct way to go? Or just skip forcing users and setting the ownership on the folder to the group?

This is my first time setting up user priviligies as I'm used to just having this as a simple webserver.


[CODE]
#======================= Global Settings ======================
[global]
netbios name = boboserver
server string =
workgroup = workgroup
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = user
null passwords = false
valid users = +storageusers
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = yes
printing = CUPS
printcap name = CUPS

syslog = 1
syslog only = yes

#======================= Shared Folders ======================
[fileserver]
path = /storage
browseable = yes
read only = no
guest ok = no
create mask = 0650
directory mask = 0755
force user = smbeveryone
force group = storageusers
guest ok = no