Question - Anonymous Samba Share Permissons
Hello - i’ve got an anonymous Samba share setup on an Ubuntu 20.04 installation as follows:
<span style="color:#323232;">[global]
</span><span style="color:#323232;"> map to guest = Bad User
</span><span style="color:#323232;"> log file = /var/log/samba/%m
</span><span style="color:#323232;"> log level = 1
</span><span style="color:#323232;"> server role = standalone server
</span><span style="color:#323232;">
</span><span style="color:#323232;">[ubuntu-media-share]
</span><span style="color:#323232;"> path = /srv/samba/ubuntu-media-share
</span><span style="color:#323232;"> read only = no
</span><span style="color:#323232;"> guest ok = yes
</span><span style="color:#323232;"> guest only = yes
</span>
On a remote Debian 12 server, I have the share mounted in /etc/fstab as follows:
<span style="color:#323232;">//10.0.0.5/ubuntu-media-share /media/ums cifs guest 0 0
</span>
However, I can only access this file share on the remote server as root. What am I missing to make this server accessible as any other user? In particular, I have users in the media
group that need to read/write that directory.
Any help is greatly appreciated. Thank you!
Edit: codeblock formatting