I've been trying to set up a samba share on my local network for 3 days now and I keep running in to the same problem. I'm sure it's something simple but I can't figure it out.
When I try to access it through my Windows 10 machine I get the following message:
\\192.168.1.10 is not accessible. You might not have permission to use this network resource.
Contact the administrator of this server to find out if you have access permissions.
Multiple connections to a server or shared resource by the same user,
using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
My Windows Credential Manager is empty.
I use the default [global] config and added the following to the bottom of the smb.conf file:
[media]
path = /mnt/media
browsable = yes
guest ok = yes
read only = no
create mask = 666
directory mask = 777
force user = sjonnie
force group = sjonnie
I created the user "sjonnie" and user 'smbpasswd -a sjonnie' to set a password.
File permissions (also tried nobody:nogroup):
drwxrwxrwx 4 sjonnie sjonnie 4096 May 8 17:59 mnt
Contents of mnt:
drwxrwxrwx 4 sjonnie sjonnie 4096 May 8 18:33 data
drwxrwxrwx 3 sjonnie sjonnie 4096 May 8 16:10 media
If you need any more information, ask and I will provide.
directory mask = 777
I hope samba does not allow this. Please use 770 (and 660 for files) There is no reason to open your system up to "others". Please also have a look in/var/log/
and if any file is updated when you try to connect. It might give a clue to what is happening