Menu

Scan workgroup shows Failed to init messaging context

Help
Stuart
2017-04-22
2017-06-08
  • Stuart

    Stuart - 2017-04-22

    This morning I updated my openSUSE Tumbleweed to the latest fix level and now when I try to use SMB4K I see 'Failed to init messaging context' on scanning the workgroup, which was working prior to the update. SMB/NMB are running OK and I can see my shares using the smb:// protocol on Dolphin. SMB4K is v1.2.3 and Samba is v4.6.2. Do you have any ideas why this might be happening please?

    Stuart

     
  • Stuart

    Stuart - 2017-04-23

    Since I am running Tumbleweed which has Plasma 5 etc I compiled SMB4K V2 to see what if any thing different happens and I am getting the exact same error message using V2.

    Stuart

     
  • Stuart

    Stuart - 2017-04-24

    Done a bit more testing this morning and search finds one of my PCs on the network but a right click on it and selecting Mount fails with the same message.

    Stuart

     
  • Alexander Reinholdt

    Hi Stuart,

    I don't have any idea at the moment, why this problem occurs. I'll install OpenSUSE in VirtualBox and try to reproduce the problem... Maybe I find out, what's wrong.

    Alexander

     
  • Stuart

    Stuart - 2017-04-26

    Thanks Alexander, if there is anything you would like me to test please let me know. So far it's only on Tumbleweed, the LEAP versions are still OK.

    Stuart

     
  • Stuart

    Stuart - 2017-05-22

    Aparently openSUSE have now removed SMB4k be4cause of a bug in the mounthelper code and want it fixed before they allow SMB4K back into their repos. Does this bug exist in SMB4K V2?

    Stuart

     
    • Alexander Reinholdt

      Stuart, sorry for not answering for such a long time. I was too busy in the last few weeks...

      There was indeed a bug in the mounthelper code that basically allowed the execution of any binary passed to it, since no check was performed which executable was passed.

      This logic flaw has been fixed and patches for Smb4K 1.2.3 and 2.0.0 are available (see here). Smb4K 2.0.1 has been released in the meantime which also contains the fix.

      Alexander

       
  • Stuart

    Stuart - 2017-05-24

    Thanks for the update Alexander. Hopefully SMB4K will be working on openSUSE 42.2 again as soon as they update the code.

    As for my Tumbleweed issue with the messaging context I am still having that and dont believe it is related to the mount fix. Is there anyway I can help to debug this?

    Stuart

     
  • Stuart

    Stuart - 2017-06-08

    Could this bug at https://bugzilla.samba.org/show_bug.cgi?id=12828 possibly be the issue here?

    Stuart

     
    • Alexander Reinholdt

      I'm not sure. Due to the lack of time I was unable to look at this issue at all. Hopefully, this weekend I can install Tumbleweed in VirtualBox and play around a bit...

       
  • Alexander Reinholdt

    After having had a look at Samba 4.6 under Tumbleweed, I found out that the net command runs without problems when you use sudo. When run unprivileged, it errors out. That is strange. I haven't found any indication yet, that the Samba team made that change, but I'm still investigating...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.