I have setup a samba server on 18.04 and run into a problem with access of sambashares
- user can access his home folder through samba (so I know the [samba]user exists, credentials are recognized)
- same user can not access any sambashare (even though user is in the group required, access rights are
smb.conf looks like this:
[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d server role = standalone server passdb backend = tdbsam obey pam restrictions = yes unix password sync = no passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes map to guest = bad user #============== Share definitions ======================= [samba] comment = Share for group Warehouse path = /srv/smb/samba/ browseable = yes writeable = yes force create mode = 0660 force directory mode = 0660 Valid users = @sambausers
Any idea, what the root of this trouble may be?