Page 1 of 1
Thunar-shares-plugin issue ...
Posted: Thu Oct 17, 2024 3:28 pm
by CharlesV
There does appear to be an issue with thunar-shares-plugin and an issue in code. The error that thunar throws is "‘net usershare’ error 255"
I have verified that this error happens on MX23.4 and is outlined in these places as 'the issue'...
https://forum.xfce.org/viewtopic.php?id=16099
https://forum.manjaro.org/t/thunar-shar ... 5/93591/16
it appears that something needs to be changed in the shares.c file
- argv[1] = "-l";
+ argv[1] = "--long";
This bug shows as resolved, however I am still seeing it. I cannot find an MX code set for thunar to check that, anyone have any insight to this one ?
Thank you
Re: Thunar-shares-plugin issue ...
Posted: Thu Oct 17, 2024 5:56 pm
by m_pav
The shares.c file looks like the type found in the source code.
Seems the folk at Manjaro found a way to patch it.
https://forum.manjaro.org/t/thunar-shar ... 5/93591/10
and Gitlab
https://gitlab.xfce.org/thunar-plugins/ ... /issues/16
Re: Thunar-shares-plugin issue ...
Posted: Thu Oct 17, 2024 6:29 pm
by FullScale4Me
I've seen fragments of reports on this. Some were attributed to spaces in share names and others were related to shares in /media sub-folders. The latter lacked user ownership and/or execute permission bit.
Also from my Samba notes archive last saved March 6, 2024.
Morbius1 wrote:net usershare' returned error 255
https://ubuntuforums.org/showthread.php ... st11706928
February 21st, 2012 #10
Morbius1
Ubuntu addict and loving it
Join Date Dec 2009
Beans 6,765
Re: Another "'net usershare' returned error 255:"
We are talking about 2 entirely different ways to create a samba share:
Classic Shares have share definitions in smb.conf.
Usershares ( aka nautilus-shares ) are created from Nautilus and have share definitions in /var/lib/samba/usershares.
BTW, I can reproduce this error in seconds:
'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter.
by changing one parameter from true to
encrypt passwords = false
That is what you had in your old smb.conf
Re: Thunar-shares-plugin issue ...
Posted: Fri Oct 18, 2024 11:23 am
by CharlesV
FullScale4Me wrote: Thu Oct 17, 2024 6:29 pm
I've seen fragments of reports on this. Some were attributed to spaces in share names and others were related to shares in /media sub-folders. The latter lacked user ownership and/or execute permission bit.
Also from my Samba notes archive last saved March 6, 2024.
Ya, this is a fresh 23.4 install, the folder was created in my home ( Test ), I have tried other folders too. Permissions all good, Thunar throws that message.
MX Samba Config works perfect to share it as well as other folders.
I tried the encrypt passwords = false .. that didnt change the issue.
Re: Thunar-shares-plugin issue ...
Posted: Fri Oct 18, 2024 11:24 am
by CharlesV
Thanks for looking at it, are you saying the shares.c as "the bad' line in it? or that it HAS been fixed already ?
Re: Thunar-shares-plugin issue ...
Posted: Fri Oct 18, 2024 4:21 pm
by m_pav
Yes it has been fixed, scroll to the bottom of the gitlab issue link.
We're using thunar-shares-plugin 0.3.1, this is fixed in 0.3.2 released a year ago so I suggest asking the packaging team if they can make it available for testing, however, it seems Debian has not picked it up and there may be a reason for that, so we need to tread carefully.
I do recall more than a few posts this year about not being able to get Thunar netshares working properly, and I did try myself at first, but as I do not use smb, I didn't give it much thought.
Might be worthwhile to put in a package request. Not certain we should be putting this into main until we find out why Debian hasn't picked it up, there may be some underlying issue or conflict, so a repackaged plugin might best be used only by those who find it fixes the issue for them.
Re: Thunar-shares-plugin issue ...
Posted: Fri Oct 18, 2024 4:31 pm
by CharlesV
m_pav wrote: Fri Oct 18, 2024 4:21 pm
Yes it has been fixed, scroll to the bottom of the gitlab issue link.
We're using thunar-shares-plugin 0.3.1, this is fixed in 0.3.2 released a year ago so I suggest asking the packaging team if they can make it available for testing, however, it seems Debian has not picked it up and there may be a reason for that, so we need to tread carefully.
I do recall more than a few posts this year about not being able to get Thunar netshares working properly, and I did try myself at first, but as I do not use smb, I didn't give it much thought.
Might be worthwhile to put in a package request. Not certain we should be putting this into main until we find out why Debian hasn't picked it up, there may be some underlying issue or conflict, so a repackaged plugin might best be used only by those who find it fixes the issue for them.
Got it! Thank you !