Special Remarks

Remarks Regarding the Samba Security Fixes of April 12, 2016

On April 12, 2016 the Samba team released security fixes for the Badlock bug. Unfortunately, they also introduced a regression that causes the net command to fail on many systems when querying remote hosts. If you experience this issue, you can add two lines to the [global] section of your smb.conf file to make browsing work again:

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

Unfortunately, this fix for Smb4K breaks the possibility to connect to the network neighborhood with Dolphin and maybe also other programs.

Remarks Regarding Denied Privilege Escalation

In case the mount and unmount actions fail with an AuthorizationDeniedError, 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).

Remarks for FreeBSD Users

Mounting of Shares (Smb4K >= 1.2.0)

Since version 1.2.0, the password for a share is directly passed to mount_smbfs, so that the ~/.nsmbrc is not necessary anymore for mounting to work. Moreover, Smb4K will not write any data to that file anymore.

Remarks for NetBSD Users

NetBSD users should stick to the KDE4-based Smb4K for now, since the Plasma™ desktop is not available in pkgsrc yet.