You are not logged in.

#1 2014-09-18 14:32:55

svxiii
Member
Registered: 2014-09-17
Posts: 21

Samba - Failed to mount Windows share: Permission denied.

I'm trying to access a samba share on my own machine (and from another one running debian) using thunar, I keep getting this error:

Failed to mount Windows share: Permission denied.

My smb.conf looks like this:

 [global]
   workgroup = WORKGROUP
   server string = Samba Server
   usershare path = /var/lib/samba/usershare
   usershare max shares = 100
   usershare allow guests = yes
   usershare owner only = yes
   hosts allow = 10.0.0. 127.
   printcap name = /etc/printcap
   load printers = yes
   log file = /var/log/samba/%m.log
   max log size = 50
   security = user
   domain master = auto
   dns proxy = no 
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

This is the same config file i've used on a laptop running arch a few months ago without problems.
I must be missing something. Any ideas?

Offline

#2 2019-01-19 15:46:01

Gotit
Member
From: New England, USA
Registered: 2017-04-27
Posts: 73

Re: Samba - Failed to mount Windows share: Permission denied.

Try adding in the Global section

force user = your_user_name

of course put your real user name where it says "your_user_name" smile
This is what I had to do with recent installs.  I have other older non-Arch machines that work fine without the force user parameter.

Oops, just realized how old this post is.  Didn't mean to necrobump.

Last edited by Gotit (2019-01-19 15:50:16)

Offline

#3 2019-01-19 16:08:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,476

Re: Samba - Failed to mount Windows share: Permission denied.

Closing.

Offline

Board footer

Powered by FluxBB