Special Remarks

Problems Browsing the Network Neighborhood with Samba 4.7 and above

Since version 2.9.71, Smb4K is using Samba's client library (libsmbclient) to browse and search the network neighborhood and print files. With the Samba 4.7 release, the default protocol version has been set to SMB3 by the Samba team. Unfortunately, Samba's client library cannot handle it correctly at the moment and browsing the network neighborhood will fail. For this reason, users of Samba 4.7 and above need to add the following setting to the [global] section of the smb.conf file to force Samba to use SMB1 (NT1) and, thus, fix the browsing of the network neighborhood:

[global]
...
client max protocol = NT1
...

If you need help, you can consult the Samba Wiki's User Documentation section for further information.

Denied Privilege Escalation

In case the mount and unmount actions fail (most likely with an AuthorizationDeniedError message), your polkit-1 setup might need to be adjusted: Add a file, e.g. named 10-mounthelper.rules, to the $PREFIX/etc/polkit-1/rules.d/ directory with the following content:

polkit.addRule(function(action, subject) {
        if (action.id == "org.kde.smb4k.mounthelper.mount" && 
            subject.isInGroup("wheel")) {
                return polkit.Result.YES;
        }
});

polkit.addRule(function(action, subject) {
        if (action.id == "org.kde.smb4k.mounthelper.unmount" &&
            subject.isInGroup("wheel")) {
                return polkit.Result.YES;
        }
});

This allows all users in the Unix group wheel to execute the mount and unmount action. You may adjust the group of authorized users to any group you need (e.g. sudo or operator).

Mounting Problems Under BSD

If mounting of password-protected shares from either a Samba or a Windows® server fails, this might be due to the fact that mount_smbfs(8) only uses NTLMv1 authentication and the server does not support it. To fix mounting for a Samba server, you can add the following entry to the [global] section of the smb.conf file of the server:

[global]
...
ntlm auth = yes
...

To fix this issue for a Windows® server, please contact the sysadmin and tell her or him that NTLMv1 authentication should be swtiched on (if possible).

Other Desktop Environments Than Plasma

When using a different desktop environment than Plasma™, Qt™ and KF5 applications might be missing the icons. In that case, you might want to install the application qt5ct (the source code can be obtained here). To use qt5ct with your desktop environment, add the following line to your ~/.xinitrc or ~/.profile file:

export QT_QPA_PLATFORMTHEME=qt5ct

Note

Under NetBSD qt5ct might complain about a missing libfreetype.so.17 or libGL.so.2 shared library file and refuse to start. To fix this problem, create the /etc/ld.so.conf file and add the path /usr/X11R7/lib to it.