Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1804  / 1 Year ago, sun, may 7, 2023, 10:41:53

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.


More From » server

 Answers
4

Thank you @Morbius1 for your help.


After few more hours of trying things I found the answer.


It turns out the problem wasn't with the Linux machine and therefore not with the Samba share.


My Windows 10 machine kept the shares I had previous in the background. I couldn't see them in the explorer but when I ran net use in the CMD I found there were 2 still linked (from previous mounting attempts). I then used net use * /delete to remove those.


Hope this helps someone else so he and or she doesn't waste 3 days pulling their hair out.
If you have any questions, send me a message.


[#1586] Monday, May 8, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
soahan

Total Points: 230
Total Questions: 123
Total Answers: 123

Location: Maldives
Member since Tue, Dec 21, 2021
2 Years ago
soahan questions
Fri, May 7, 21, 06:17, 3 Years ago
Mon, Jan 16, 23, 05:49, 1 Year ago
Mon, Dec 13, 21, 14:40, 2 Years ago
;