Bug 341514

Summary: Dolphin fails to mount CIFS 3 share
Product: [Unmaintained] kio Reporter: Shmerl <shtetldik>
Component: smbAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: phantom4, suse
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Shmerl 2014-12-03 03:54:45 UTC
Recent versions of Windows servers (2012 and later) introduced a new version of CIFS (SMB) protocol used for shared drives (CIFS 3). In order to mount such shares using mount, one has to pass CIFS version explicitly, for example:

    mount -t cifs -o vers=3.0,uid=<user>,gid=<group>,user=<cifs_user> //server/share <where_to_mount>

However opening such share from Dolphin (4.14.2) simply using smb://server/share fails apparently because Dolphin doesm't pick the right CIFS version (mount also fails if version is not explicitly specified). Kio/smb should have some way either to detect CIFS version or to allow user to set it explicitly.

Reproducible: Always

Steps to Reproduce:
1. Open CIFS 3 share in Dolphin using URI like: smb://server/share
2. Input credentials


Actual Results:  
Opening the share fails with bad authentication even though credentials are correct.

Expected Results:  
The share should be opened.

It's related to changes introduced in CIFS 3.
Comment 1 Shmerl 2014-12-03 03:55:43 UTC
Version of kio used: 4.14.2
Comment 2 suse 2017-08-27 18:44:17 UTC
duplicate of https://bugs.kde.org/show_bug.cgi?id=339752
Comment 3 Christoph Feck 2017-09-17 17:03:01 UTC
Indeed, thanks!

*** This bug has been marked as a duplicate of bug 339752 ***