The recent update that included samba 4.16.4-1 → 4.16.4-2 and smbclient 4.16.4-1 → 4.16.4-2 seems to have given me a problem when trying to share a folder. It gives the error, ‘net usershare add: cannot convert name “Everyone” to a SID. The transport connection is now disconnected.’
smb.service and nmb.service both show as active. And no changes to smb.conf.
I was able to repeat this error on another machine. Sharing folders was working properly on 4.16.4-1 and then produces the error after updating to 4.16.4-2.
Appreciate the help. I am merely trying to share a folder in Manjaro. Right click a folder like ‘documents’, click properties, click share, click share this folder with other computers on the local network, then you can select access rights Read only or Full control. When I select ok, that is when I get the cannot convert name “Everyone” to a SID. Prior to that update, it would have just worked and put a share icon on the folder.
Although I can’t see if Samba was working before any upgrades, as I only installed and set it up yesterday, I too am receiving this error when in Dolphin, when I try to share a folder (right click folder, share tab, check the box to share the folder and set the permissions for my user and Everyone to Full Control.)
net usershare add: cannot convert name "[myusername/Everyone]" to a SID. The transport connection is now disconnected.
sudo systemctl status nmb
● nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; preset: disabled)
Active: active (running) since Mon 2022-08-15 12:27:22 PDT; 6s ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 4117 (nmbd)
Status: "nmbd: ready to serve connections..."
Tasks: 1 (limit: 19120)
Memory: 2.9M
CPU: 25ms
CGroup: /system.slice/nmb.service
└─4117 /usr/bin/nmbd --foreground --no-process-group
Aug 15 12:27:22 nate systemd[1]: Starting Samba NMB Daemon...
Aug 15 12:27:22 nate nmbd[4117]: [2022/08/15 12:27:22.484348, 0] ../../source3/nmbd/nmbd.c:901(main)
Aug 15 12:27:22 nate nmbd[4117]: nmbd version 4.16.4 started.
Aug 15 12:27:22 nate nmbd[4117]: Copyright Andrew Tridgell and the Samba Team 1992-2022
Aug 15 12:27:22 nate systemd[1]: Started Samba NMB Daemon.
~ ········································································································ 12:27:29 PM
❯ sudo systemctl status smb
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; preset: disabled)
Active: active (running) since Mon 2022-08-15 12:27:14 PDT; 28s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 4106 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 3 (limit: 19120)
Memory: 5.8M
CPU: 40ms
CGroup: /system.slice/smb.service
├─4106 /usr/bin/smbd --foreground --no-process-group
├─4108 /usr/bin/smbd --foreground --no-process-group
└─4109 /usr/bin/smbd --foreground --no-process-group
Aug 15 12:27:14 nate systemd[1]: Starting Samba SMB Daemon...
Aug 15 12:27:14 nate smbd[4106]: [2022/08/15 12:27:14.799283, 0] ../../source3/smbd/server.c:1741(main)
Aug 15 12:27:14 nate smbd[4106]: smbd version 4.16.4 started.
Aug 15 12:27:14 nate smbd[4106]: Copyright Andrew Tridgell and the Samba Team 1992-2022