You are not logged in.

#1 2022-02-13 08:15:01

caffeinex
Member
Registered: 2022-02-13
Posts: 1

Unable to Share Folder with Samba

Hello guys. I am a new Arch user, and I am now currently learning how to share files over the network using samba. I am encountering errors which unfortunately am not able to find (google) solutions for, and would like to seek help from the community. I would appreciate assistance, or pointers on how to deal with the errors.

I currently have samba version 4.15.5 installed. I have created and configured a smb.conf file as instructed in the wiki, and have created a test folder (to share) and given it read-write access to a test samba user and group.

However, I am receiving the following error when I try to share the folder thru the "right-click" context menu of Caja:

          'net usershare' returned error 255

I then checked thru:

          sudo systemctl status smb

and got the result:

          "smb.service: Got notification message from PID 526, but reception only permitted for main PID 522"

on the last line:

● smb.service - Samba SMB Daemon

Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)

Active: active (running) since Sun 2022-02-13 11:26:29 PST; 19min ago

Docs: man:smbd(8)

man:samba(7)

man:smb.conf(5)

Main PID: 522 (smbd)

Status: "smbd: ready to serve connections..."

Tasks: 4 (limit: 9160)

Memory: 18.3M

CPU: 143ms

CGroup: /system.slice/smb.service

├─522 /usr/bin/smbd --foreground --no-process-group

lines 1-13...skipping...

● smb.service - Samba SMB Daemon

Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)

Active: active (running) since Sun 2022-02-13 11:26:29 PST; 19min ago

Docs: man:smbd(8)

man:samba(7)

man:smb.conf(5)

Main PID: 522 (smbd)

Status: "smbd: ready to serve connections..."

Tasks: 4 (limit: 9160)

Memory: 18.3M

CPU: 143ms

CGroup: /system.slice/smb.service

├─522 /usr/bin/smbd --foreground --no-process-group

├─524 /usr/bin/smbd --foreground --no-process-group

lines 1-14...skipping...

● smb.service - Samba SMB Daemon

Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)

Active: active (running) since Sun 2022-02-13 11:26:29 PST; 19min ago

Docs: man:smbd(8)

man:samba(7)

man:smb.conf(5)

Main PID: 522 (smbd)

Status: "smbd: ready to serve connections..."

Tasks: 4 (limit: 9160)

Memory: 18.3M

CPU: 143ms

CGroup: /system.slice/smb.service

├─522 /usr/bin/smbd --foreground --no-process-group

├─524 /usr/bin/smbd --foreground --no-process-group

├─525 /usr/bin/smbd --foreground --no-process-group

└─526 /usr/lib/samba/samba/samba-bgqd --ready-signal-fd=47 --parent-watch-fd=13 --debuglevel=0 -F

Feb 13 11:26:29 archlinux systemd[1]: Starting Samba SMB Daemon...

Feb 13 11:26:29 archlinux smbd[522]: [2022/02/13 11:26:29.119452, 0] ../../source3/smbd/server.c:1734(main)

Feb 13 11:26:29 archlinux smbd[522]: smbd version 4.15.5 started.

Feb 13 11:26:29 archlinux smbd[522]: Copyright Andrew Tridgell and the Samba Team 1992-2021

Feb 13 11:26:29 archlinux systemd[1]: Started Samba SMB Daemon.

Feb 13 11:26:29 archlinux systemd[1]: smb.service: Got notification message from PID 526, but reception only permitted for main PID 522

Offline

#2 2022-02-13 10:58:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: Unable to Share Folder with Samba

Please use code tags for pasting outputs. For file manager integrations to work you need to enable user shares: https://wiki.archlinux.org/title/Samba# … Usershares did you do that?

If you think you did, post your smb.conf

Offline

Board footer

Powered by FluxBB