This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can Dolphin 16.x connect to MS-DFS share?

Tags: None
(comma "," separated)
Sobek
Registered Member
Posts
1
Karma
0
In vain I try to access a share offered by a Windows Server 2012 R2 with Dolphin.
The share is part of MS-DFS (Microsoft Distributed File System).

I am using:
Fedora 24 x86_64
Dolphin Version 16.04.1
Using:
KDE Frameworks 5.22.0
Qt 5.6.0 (built against 5.6.0)
The xcb windowing system

The problem is present in Fedora 22 (Dolphin 15.x) as well.
I cannot remember if the problem was present in Fedora 20 (KDE 4.x).


In the text below the strings LOGIN, DOMAIN, SHARE, FOLDER, and COMPUTERNAME are dummys. The actual values are all lowercase, use different characters, but no additional punctuation.
For historic reasons the Windows domain name ends with a '.local' suffix.

With Dolphin I can access regular shares (non-MS-DFS) offered by a Windows Server 2012 R2 without problems.
In address bar of Dolphin (Ctrl+L) I enter:
smb://LOGIN@SERVER.DOMAIN.local/SHARE


Using Thunar I can access the MS-DFS share without a problem.
In address bar of Thunar (Ctrl+L) I enter:
smb://DOMAIN;LOGIN@DOMAIN.local/SHARE

The 'DOMAIN;LOGIN' notation is not accepted by Dolphin.




Back to the problem with the MS-DFS share:
In Dolphin I open the address bar (Ctrl+L) and enter:
smb://LOGIN@DOMAIN.local/SHARE

After a few seconds a window asks for my password. I enter it and press [OK].

In Dolphin the directory listing of the share is displayed. At the same time a window appears. Its content is:
---8<---
Information - Dolphin
--
File does not exist: smb://LOGIN@DOMAIN.local/SHARE/FOLDER
[OK]
---8<---

FOLDER is the first item in the list.
There are no files in the share.

For any folder I try to open FOLDER a window appears:
---8<---
Error - Dolphin
--
The file or folder smb://LOGIN@DOMAIN.local/SHARE/FOLDER does not exist.
[OK]
---8<---


In '/etc/samba/smb.conf' I set:
[global]
workgroup = DOMAIN
security = user

The packages required for mounting MS-DFS are installed:
cifs-utils
keyutils






In the logs I found while connecting with Dolphin to the MS-DFS share:
$ sudo tail -f /var/log/messages
May 22 16:07:29 COMPUTERNAME dolphin: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf\nLoaded services file OK.\nERROR: lock directory /var/lib/samba/lock does not exist\n\n"


I created the folder with:
$ sudo mkdir /var/lib/samba/lock

to get rid of the ERROR message. It did not solve the problem.



The output of testparm is:
$ sudo testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
ERROR: lock directory /var/lib/samba/lock does not exist

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
server string = Samba Server Version %v
workgroup = DOMAIN #<--- this time really in uppercase!
log file = /var/log/samba/log.%m
max log size = 50
security = USER
idmap config * : range = 16777216-33554431
idmap config * : backend = tdb
cups options = raw


[homes]
comment = Home Directories
browseable = No
read only = No


[printers]
comment = All Printers
path = /var/spool/samba
browseable = No
printable = Yes





The next try with Dolphin produced these messages in in the log:
# writing smb://... for MS-DFS share
# asking for password
# entered password, press OK
May 22 16:09:46 COMPUTERNAME kwin_x11: QXcbConnection: XCB error: 3 (BadWindow), sequence: 14318, resource id: 14680072, major code: 18 (ChangeProperty), minor code: 0
# message "Information file does not exist" appeared
# click OK
# try to open folder
May 22 16:10:10 COMPUTERNAME kdeinit5: finished() called after error()! Please fix the KIO slave.
May 22 16:10:10 COMPUTERNAME dolphin: KRun(0x55c2abd88a30) ERROR 111 "The file or folder smb://LOGIN@DOMAIN.local/SHARE/FOLDER does not exist."
# message "error file or folder does not exist" appeared





Installed packages are
$ dnf list *kio*
audiocd-kio.x86_64 16.04.0-1.fc24
audiocd-kio-devel.x86_64 16.04.0-1.fc24
audiocd-kio-doc.noarch 16.04.0-1.fc24
audiocd-kio-libs.x86_64 16.04.0-1.fc24
kdesdk-kioslaves.x86_64 16.04.1-1.fc24
kf5-kio.x86_64 5.22.0-1.fc24
kf5-kio-core.x86_64 5.22.0-1.fc24
kf5-kio-core-libs.x86_64 5.22.0-1.fc24
kf5-kio-devel.x86_64 5.22.0-1.fc24
kf5-kio-doc.noarch 5.22.0-1.fc24
kf5-kio-file-widgets.x86_64 5.22.0-1.fc24
kf5-kio-gui.x86_64 5.22.0-1.fc24
kf5-kio-ntlm.x86_64 5.22.0-1.fc24
kf5-kio-widgets.x86_64 5.22.0-1.fc24
kf5-kio-widgets-libs.x86_64 5.22.0-1.fc24
kio-extras.x86_64 16.04.1-1.fc24
kio-extras-docs.noarch 16.04.1-1.fc24
kio-ftps.x86_64 0.2-12.fc24
kio-upnp-ms.x86_64 1.0.0-9.20111102git.fc24
kio_gopher.x86_64 0.1.4-8.fc24
kio_msits.x86_64 7:16.04.1-1.fc24
kio_mtp.x86_64 0.75-13.20141221gitc418634.fc24
kio_sysinfo.x86_64 20090930-13.fc24
okio.noarch 1.6.0-1.fc24
okio-javadoc.noarch 1.6.0-1.fc24
recoll-kio.x86_64 1.21.7-1.fc24

$ dnf list *dolphin*
dolphin.x86_64 16.04.1-1.fc24
dolphin-connector.x86_64 1.2-18.fc24
dolphin-connector-devel.x86_64 1.2-18.fc24
dolphin-devel.x86_64 16.04.1-1.fc24
dolphin-libs.x86_64 16.04.1-1.fc24
dolphin-plugins.x86_64 16.04.1-1.fc24
dolphin4.x86_64 16.04.1-1.fc24
dolphin4-libs.x86_64 16.04.1-1.fc24
tnef-dolphin.x86_64 1.4.12-4.fc24






ps:
In the log one message was:
May 22 16:24:44 COMPUTERNAME dolphin: Cannot creat accessible child interface for object: PlacesView(0x55cf54e71070) index: 10

There seems to be an e missing: creat --> create
bmalengier
Registered Member
Posts
2
Karma
0
I have hit this same issue on my university.
Latest Kubuntu here.
Did you file a bug for this ?
bmalengier
Registered Member
Posts
2
Karma
0
Note, on kubuntu 16.04, you need gvfs-backends to be able to use thunar as a replacement


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]