Bug 341514 - Dolphin fails to mount CIFS 3 share
Summary: Dolphin fails to mount CIFS 3 share
Status: RESOLVED DUPLICATE of bug 339752
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: smb (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-03 03:54 UTC by Shmerl
Modified: 2017-09-17 17:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***