Net usershare add SID problem and workaround

Hello,

I found a bug and a workaround but I couldn’t find where to post it. I hope this is a right place

When I try to make a samba share with dolphin, I get an error as shown below.

When I use “net usershare” I get same error as shown below.

msh@msh-manjaro ~> net usershare add msh-test /home/msh/Debug/ "msh personal share" "msh:f" guest_ok=n
net usershare add: cannot convert name "msh" to a SID. The transport connection is now disconnected..

However, when I use SID directly it works and I can connect this share from my windows system.

msh@msh-manjaro ~> net usershare add msh-test /home/msh/Debug/ "msh personal share" "S-1-5-21-3923784690-2429504267-2101582888-1002:f" guest_ok=n

I hope this helps anyone with same problem, until a fix is released.

2 Likes

It doesn’t. Post actual, properly formated text, not pictures.

I am getting the same issue now and was okay before. I have not made any config changes to my system for a while now and am wondering if this is due to some recent update?