Discussion:
How to get Nautilus mount share using SMB3
(too old to reply)
Jonathan N. Little
2017-10-17 18:09:53 UTC
Permalink
I only have one lousy Windows left and since next update will disable
SMB1 I decided to preemptively test. Disabled SMB1 on winbox so now
requires SMB2 or SMB3. How to you get Nautilus to use SMB3 to connect to
Windows shares? I can do it via smbclient:

smbclient smb://winbox/shared -m SMB3

A1-Skippy! But Nautilus fails either by bookmark
smb://WORKGROUP;***@winbox/shared

or trying to use Go > Connect to server.

If I reenable SMB1 on the winbox then there is no problem connecting. So
far all I can find is how to get Windows clients to connect to Linux
server shares (easy), but not the reverse. Using workgroup not a domain.

The only way I can think is to mount in fstab where I can specify
protocol with 'ver=3.0'. Is there some setting in gvfs or something?
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jonathan N. Little
2017-10-17 18:32:51 UTC
Permalink
Post by Jonathan N. Little
I only have one lousy Windows left and since next update will disable
SMB1 I decided to preemptively test. Disabled SMB1 on winbox so now
requires SMB2 or SMB3. How to you get Nautilus to use SMB3 to connect to
smbclient smb://winbox/shared -m SMB3
A1-Skippy! But Nautilus fails either by bookmark
or trying to use Go > Connect to server.
If I reenable SMB1 on the winbox then there is no problem connecting. So
far all I can find is how to get Windows clients to connect to Linux
server shares (easy), but not the reverse. Using workgroup not a domain.
The only way I can think is to mount in fstab where I can specify
protocol with 'ver=3.0'. Is there some setting in gvfs or something?
Okay finally found the solution. Add to global section of smb.conf

client min protocol = SMB2
client max protocol = SMB3

Do note with SMB1 disabled you can no longer browse shares...
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Marek Novotny
2017-10-17 18:55:43 UTC
Permalink
Post by Jonathan N. Little
Post by Jonathan N. Little
I only have one lousy Windows left and since next update will disable
SMB1 I decided to preemptively test. Disabled SMB1 on winbox so now
requires SMB2 or SMB3. How to you get Nautilus to use SMB3 to connect to
smbclient smb://winbox/shared -m SMB3
A1-Skippy! But Nautilus fails either by bookmark
or trying to use Go > Connect to server.
If I reenable SMB1 on the winbox then there is no problem connecting. So
far all I can find is how to get Windows clients to connect to Linux
server shares (easy), but not the reverse. Using workgroup not a domain.
The only way I can think is to mount in fstab where I can specify
protocol with 'ver=3.0'. Is there some setting in gvfs or something?
Okay finally found the solution. Add to global section of smb.conf
client min protocol = SMB2
client max protocol = SMB3
Do note with SMB1 disabled you can no longer browse shares...
Good to know, I'll make a note of it.
--
Marek Novotny
https://github.com/marek-novotny
Jonathan N. Little
2017-10-17 18:59:27 UTC
Permalink
Post by Marek Novotny
Post by Jonathan N. Little
Okay finally found the solution. Add to global section of smb.conf
client min protocol = SMB2
client max protocol = SMB3
Do note with SMB1 disabled you can no longer browse shares...
Good to know, I'll make a note of it.
Yeah, I haven't seen the update yes, but it was release today. It
usually takes a couple of days before upgrades get foisted on me.
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
stepore
2017-10-18 04:11:33 UTC
Permalink
Post by Jonathan N. Little
Do note with SMB1 disabled you can no longer browse shares...
From *nix boxes only or also applies to other Windows boxes?
Jonathan N. Little
2017-10-18 11:58:26 UTC
Permalink
Post by stepore
Post by Jonathan N. Little
Do note with SMB1 disabled you can no longer browse shares...
From *nix boxes only or also applies to other Windows boxes?
Well since "I only have one lousy Windows" box left it is a bit hard to
test. But in Explorer they shares on the same system do show.

Whoops! Let me revise that. They do show now. I have once of my Ubuntu
server set as Master Browser so maybe it just took some time to refresh
cache...
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Loading...