Dolphin will not connect to a Windows 2012r2 server with encrypted transport.
smbclient will only connect if I select max-protocol=SMB3
According to smbclients man page:
This allows the user to select the highest SMB protocol level that smbclient will use to connect to the server. By default this is set to NT1, which is the highest available SMB1 protocol. To connect using SMB2 or SMB3 protocol, use the strings SMB2 or SMB3 respectively. Note that to connect to a Windows 2012 server with encrypted transport selecting a max-protocol of SMB3 is required.
Dolphin seems still to not connect any Samba Server with SMB2 or SMB3 protocol.
Microsoft says disable all SMBv1 after wannacry and petaya and just announced new flaw.
(In reply to Pascal d'Hermilly from comment #2)
> Microsoft says disable all SMBv1 [...]
Just to be clear. What I mean is that Dolphin only hooking up to smbv1 is/will become like not having smb.
Dolphin is using smbclient to access smb shares.
As written in comment #0, smbclient is using only NT1 (=SMB1) as maximum protocol.
"The default protocol for smbclient and smbcacls is still
SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
can be selected in one of two ways."
I see different solutions:
1. Wait until smbclient use SMB3 (or SMB2) as maximum protocol *per default*
2. Force kio-smb to use SMB3 (or SMB2)
3. create ~/.smb/smb.conf on your local machine:
client max protocol = SMB3
I've tried solution #3 and it works.
*** Bug 341514 has been marked as a duplicate of this bug. ***
*** Bug 384240 has been marked as a duplicate of this bug. ***
The upcoming smbclient version 4.7 will change it's default behavior.
> The default for "client max protocol" has changed to "SMB3_11",
> which means that 'smbclient' (and related commands) will work against
> servers without SMB1 support.
Let's keep the fingers cross that that change will fix the issue.
i'm using latest fedora26, kio 5.38 (testing repo).
Problem is, all windows machines can be accessed by smbclient, depending on the settings in /etc/samba/smb.conf with different results (smb2, smb3 etc)
So, this works as expected.
Trying the settings with a .smb/smb.conf does not work, in my opinion this file is not taken into account. Maybe the naming is incorrect? (.samba instead of .smb???)
Then, kio-slaves do access windows machines if win10 is used. kio refuses to connect if win7+security patches (NT1 is banned) is in place.
Here, i do not have any control over the protocol being used with the modifications in /etc/samba/smb.conf. Testing was done with dolphin and krusader with identical results.
Not a long time ago, this was working (fedora26, approx. by the time the 4.12 kernel was distributed)
I would appreciate this being fixed instead of hoping (comment #7) that this will disappear by itself ... :-))))
Given that there is indeed an upstream fix that's been released, I think that should be what we rely on. No sense duplicating work that's already been done.