I'm getting this error when trying to access a remote Linux Samba share from Windows 10.
…brooklynshare is not accessible. You might not have permission to use this network resource...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…and try again.
After trying multiple solutions thinking it was the samba .conf file, I'm now seeing this may be intended behavior by the Windows machine.
For reference, when connecting to the machine itself in Windows file explorer, I have to enter 'email@example.com'. Then when trying to access my shared folder, I'm prompted for credentials again. Since this is the same username as the one I used to connect to begin with I see why this error occurs.
I've read the workarounds here, but using the IP address to connect doesn't make a difference, and I don't have admin rights on the Windows machines to create a DNS alias.
So I'm curious if there's anyway for Samba to detect what credentials I used to login to the machine when first connecting, then use those credentials to allow only me to edit/read the shared folder.
Here's the relevant piece of the .conf file if it helps:
[brooklynshare] comment = Brooklyn's Samba Share path = /home/welsh_bd/brooklynshare force user = welsh_bd force group = welsh_bd read only = no browsable = yes create mask = 777 directory mask = 2775