How do I configure my Linux Samba server smb.conf file to allow for Windows guest-access without requiring credentials from the server?
I've tried the following smb.conf. It allows Windows clients to access the share and write and read as if root, except the Windows explorer prompts the user for credentials. That means I have enter credential and option to store them for the root user on the Windows machine. I'd rather it just allow access without credentials being prompted for like I was able to set up in TrueNAS somehow.
This is a private, closed access network. I'd appreciate if someone call look at this smb.conf set up and tell me where I'm going wrong in what I'm trying to do. I'd like it to just allow anyone on the network subnet to access the smb share without credentials, yet still have the stored files forced to be owner:group root/root.
root@samba:~# cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
guest account = nobody
allow insecure wide links = yes
security = user
[ztank]
follow symlinks = yes
path = /mnt/ztank
read only = no
guest ok = yes
wide links = yes
browseable = yes
writeable = yes
create mask = 777
directory mask = 777
force user = root
force group = root