I can't seem to get windows to connect to the samba file server (error below). I'm using \ \ip\backup where ip is replaced with the internal ip address. It registers the correct folder but comes back with a permission error. I thought I made it so it should be a public share (no login required). What have I done wrong? Did I add a parameter I didn't need to that's causing the error? Or is there another parameter I need to add? Some info below.
Client side: Windows 10
Server side: Ubuntu server 20.04LTS
Config file block
[backup]
path = /media/raid/backup-desktop
browsable =yes
writable = yes
guest ok = yes
read only = no
public = yes
testparm output:
$ testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h server (Samba, Ubuntu)
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[backup]
guest ok = Yes
path = /media/raid/backup-desktop
read only = No