I'm pretty new to Ubuntu and having issues with Samba shares. I have Ubuntu 20.04 installed on the server and win10 on my desktop. None of the shared folders I create (smb.conf or Nautilus) show up. The weird part is that there are some folders showing up that is accessible from the server and win10 (hassio folders). I'm assuming samba is working just that I have missed some configuration or something is interfering.
jaco@jaco-server:~$ testparm -s
Load smb config files from /etc/samba/smb.conf Loaded services file OK. Server role: ROLE_STANDALONE
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 security = USER server role = standalone server server string = %h server (Samba, Ubuntu) unix password sync = Yes usershare allow guests = Yes usershare owner only = No idmap config * : backend = tdb
browseable = No comment = All Printers create mask = 0700 path = /var/spool/samba printable = Yes
force create mode = 0777 force directory mode = 0777 force user = nobody guest ok = Yes guest only = Yes path = /dell read only = No
jaco@jaco-server:~$ net usershare info --long
[test] path=/test comment= usershare_acl=Everyone:F,S-1-5-21-3504275779-4099143243-3885546580-1000:F, guest_ok=y
Between server restarts it alternates between showing Public & test folder and showing the other 5 hassio folders in other locations on ubuntu. On the win10 machine at always shows the 5 hassio folders
This has solved it for me To enable access under the guest account from your computer, you need to use the Group Policy Editor (gpedit.msc). Go to the section: Computer Configuration -> Administrative templates -> Network -> Lanman Workstation. Find and enable the policy Enable insecure guest logons. These policy settings determine whether the SMB client will allow unsafe guest logon to the SMB server.