I have a Samba share on my local network hosted on a CentOS7 machine (32bit so can't use any answers involving EPEL-RELASE REPOS) and want to configure the permissions and let specific users have access. At the moment, I am having a problem where it says 'Permission Denied' to anybody that tries to access.
Please skim through this video link to see which method I used: EXTERNAL LINK: YouTube.com
And for written instructions (easier link with more detail) see here: EXTERNAL LINK: howtoforge.com
Is there a way to configure my /etc/samba/smb.conf file to allow specific users/all users to access. It would also be nice to relate to credential files (example: share1 lets username: user password: pass access, whilst other logins dont' work) I would like users to be able to access it who aren't users on the CentOS machine.
IT'S A USB DRIVE THAT IS MOUNTED THAT I AM TRYING TO SHARE
Any ideas? Thanks - if you need any further information, please just ask. Below you can find my /etc/samba/smb.conf
file contents:
[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = centos
security = user
map to guest = bad user
dns proxy = no
#============================ Share Definitions ==============================
[Shared]
path = /share/path/here
browsable =yes
writable = yes
guest ok = yes
read only = no
/var/log/audit/audit.log
? – sebasth Jun 13 '20 at 14:56audit.log
but I just want to know if there's a staightforward way to edit that file to add users/credentials. – ekv_56 Jun 13 '20 at 17:32