After a recent update (I think a week or so ago) SMB4K stopped working properly. I am unable to scan my workgroup and see a message saying ‘failed to init messaging context’ on each time I try. I am able to use the smb:// protocol in dolphin to access an shares but unable to use SMB4K in the normal way. This is on Tumbleweed KDE Plasma 5 btw. The problem does not exist on Laep 42.2.
By what do you mean “the normal way?”
Mounting a SMB network share in a command line console?
Something else?
If from a command line, would want to see the command syntax you’re using, and what the Share permissions are (local machine? network security like AD or LDAP, and what type of DC are you using?)
By the normal way I mean (as I said ) using SMB4k as it is intended, double click on workgroup and it shows the computers, then double click on the computer and it shows the shares which can then be mounted by SMB4K. None of that works because of the error message from SMB4K. I’d expect a mount from a console to work as well since the smb:// protocol works in Dolphin, however I like to use SMB4k and cannot currently.
I’d take issue with any description that accessing SMB network shares “normally” is by using a GUI client.
To troubleshoot your issue,
You need to “go back to basics” using the command line to execute each step of functionality you describe in your Dolphin client…
If you can verify the functionality exists from the command line, then you might say that suggests the problem is in the application client you’re using.
You may take issue with what I say, however using a GUI client is not a problem and I can see no reason to suggest otherwise. All I was doing was attempting to see if any other users here were experiencing the same issue with SMB4K, no more and no less. I fail to see why you are taking this attitude when all I am asking for is a little information. Obviously no one else is seeing this which is fine. I dont need to go into details about what works from either Dolphin or the commandline - IT ALL WORKS.
So as far as I am concerned this thread and be locked as I have no desire to continue discussing this with anyone who is not interested in my issue.
I think you are mis-reading my comment. I was referring to the normal way to use SMB4K to mount shares. I was not trying to suggest using a GUI client was ‘normal’ although I see nothing wrong in using it. I happen to prefer GUI ways of doing things although I am perfectly capable of doing it via a console.
As far as I can tell it is indeed SMB4K which has a problem and I was trying to see if anyone else here might be using it and have this issue. Obviously from the lack of other replies no one else seems to have this problem which is fine. I need to debug SMB4K.
yes - we’re two … I also cannot access my Samba-shares with Smb4k. I renamed all Smb4k confi files and so on, removed and re-installed Smb4k, but it does not work. It started a week ago or so, obviously with an update. I can access the Samba shares via Dolphin, but that does not work e.g. for digiKam.
Did you get any help or solved the problem meanwhile?
I can access my NAS through Dolphin (under networks, smb:), but this does not help because DigiKam does not support this. I can also mount the NAS but I cannot get RW access as normal user (I even set SUID to mount.cifs …).
I suppose - but this is just a guess - that the issue might not be smb4k but rather a security setting of opensuse in one of the latest updates, e.g. a firewall setting or so. smb4k keeps trying to connect and ends in a dead loop.
Exact;y what do you see? With my problem I get the notification message saying ‘failed to init messaging context’. Do you get the same message? If not then I suspect it could be a dfferent issue.
I did install that today on TW but still have an issue scanning the workgroup where I get ‘Failed to init messaging context’ message, I can mount from bookmarks OK though.
As mentioned in the other thread, this might be an issue in Samba 4.6.
And regarding mounting: unfortunately the security team immediately declined the new review with the words “this can never be secure”. http://bugzilla.suse.com/show_bug.cgi?id=1041511
So, it seems there never will be a working smb4k in the distribution again.
Well my system now has 4.6.6+git.36.67c8c47724e-1.1 and I still have the issue. I am unable to tell if this is the release which contains the fix, if it does the fix does not work.
Wed Aug 16 11:33:36 UTC 2017 - ddiss@suse.com
- Update to 4.6.7; (bsc#1054017)
...
+ net command fails due to incorrectly return code; (bso#12828).
...
I had similar problems in Leap 42.3, smb4k 2.0.1 works fine for me. I wonder if not there is a “1-click install” as well (still getting it from KDE:Extra).
There is: https://software.opensuse.org/package/smb4k
Just click on “Show other versions” and “Show possibly unstable packages” (or whatever it’s called in other languages) and choose the one from KDE:Extra.
But there’s no point in using a 1-click install if you already added the KDE:Extra repo anyway.