You are not logged in.

#1 2017-11-06 12:50:48

Math
Member
Registered: 2011-10-10
Posts: 40

SMB - Can't access Windows share

A couple of weeks ago I installed samba and was able to access my Windows shares, but for some reason I can't access them anymore.

I can still connect to the Windows share, but I can 't access the folders/shares within it (ADMIN$, Users, C$, D$, etc.). I'm getting the message: "Unable to access location - Failed to mount Windows share: File exists"
I'm not sure where to look to solve this problem, couldn't find any solution on the web either.

Hope you guys can help me out.

Offline

#2 2017-11-06 13:17:30

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: SMB - Can't access Windows share

How do you "access" your windows shares? gvfs, kio or cifs?
The problem is probably the default change from SMBv1 to SMBv2 (because it's been for everybody who came up with such issues over the past months)

Offline

#3 2017-11-06 13:27:30

Math
Member
Registered: 2011-10-10
Posts: 40

Re: SMB - Can't access Windows share

Hmm, alright. I'm using Nautilus to access my Windows shares, so I guess I'm using gvfs.

I tried to uninstall and reinstall samba completely, but no luck..

Offline

#4 2017-11-06 13:41:50

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: SMB - Can't access Windows share

Edit /etc/samba/smb.conf and add

[global]
client max protocol = SMB2

(if there's already a global section, re-use that)


Reboot, see what happens.

Offline

#5 2017-11-06 13:50:11

Math
Member
Registered: 2011-10-10
Posts: 40

Re: SMB - Can't access Windows share

Hmm, there was no smb.conf present, so I created it and added the settings, but no luck.

Offline

#6 2017-11-06 20:12:05

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: SMB - Can't access Windows share

Can you browse your shares with smbclient?

Offline

#7 2017-11-06 20:45:33

Math
Member
Registered: 2011-10-10
Posts: 40

Re: SMB - Can't access Windows share

seth wrote:

Can you browse your shares with smbclient?

Ahhh, with smbclient I'm getting

tree connect failed: NT_STATUS_ACCESS_DENIED

But I'm able to access the Users share, even with Nautilus, just not the C$ D$ drives, etc.

Guess something is blocking it, maybe in Windows.

Offline

#8 2017-11-07 23:01:27

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: SMB - Can't access Windows share

might want to try

client max protocol = NT1

instead in your samba.conf
see https://bbs.archlinux.org/viewtopic.php?id=230470]
worked for me


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

Board footer

Powered by FluxBB