I have an NFS server who exports it's share and the owner as nfsnobody:nfsnobody. The client linux servers mount, and can r/w create perfect. I need that same functionality on windows, so have Samba running but I having issues.
From windows, I can browse to \\ip\share\folder I see the data, but if I right click/create I get permission denied.
I change that folder to 777 permissions on the NFS server and I can then create a file from windows fine, but the user/group is nobody.nobody where I need it to be the nfsnobody user (so it has access).
The samba config looks like this;
Code:
[global]
guest account = nfsnobody
log file = /var/log/samba/log.%m
cups options = raw
load printers = yes
server string = Samba Server Version %v
workgroup = Company
os level = 20
security = share
passdb backend = tdbsam
max log size = 50
guest ok = yes
[data]
writeable = yes
guest only = yes
public = yes
path = /data
browsable = yes
I was wondering if the security=share was my problem.
smbusers looks like this:
Code:
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nfsnobody = guest pcguest smbguest
administrator=root
I can workaround by moving everything to 777, but first that's a bad workaround and second, when the linux servers create new folders, there not world writable so the windows servers can't write to them.
Where am I going wrong with my samba config? Also, if I need to include anything else, let me know. Thanks for all read/replies.