I’m facing same problem, I don’t have lot of knowledge about samba
Here only basic information I can provide
[Samba working fine]
ManjaroLinux 21.3.6 (Ruah)
… Then full system update …
[Samba service is working but can’t access]
ManjaroLinux 21.3.6 (Ruah)
I need more time to troubleshooting this problem. If I found solution then I’ll post here. Or if you need more information please let’s me know
//Edit for More information
I’m tried to troubleshooting by this thread [root tip] [How To] Basic Samba Setup and Troubleshooting
But still no luck maybe I have to timeshift my machine and stuck on old version for some period, ujntil I find soultion. I don’t want to re-install my os
(Sorry I can’t post picture)
imgur[dot]com/a/6nNqUOi
From the image. This used to have lot of share folder here. But now I can’t even connect to myself (localhost)
//Edit again
Ok I’m give up!. I have to timeshift my machine and stuck in the old version. Until bug fixed? IDK
I went through this process
[[root tip] [How To] Basic Samba Setup and Troubleshooting]
first time when I setup my samba and It was working fine , I think this time it has something to do with samba itself and not how you setup it. I was waiting for an update for samba and yes indeed there was an update today I updated it but didn’t work.
few days ago I was getting this result
When I say config I mean of course smb.conf but also the permissions on the filesystem which are equally important as the smb service doen’t allow more than the filesystem allows for.
What are you sharing - from where?
If you are sharing folders inside your home - remember that on a Manjaro system a user’s home permissions is restricted to the user and the user’s own group. This effectively blocks any access to any folder inside the user’s home.
I’m sharing from a directory which is not in home
and the output of the command which you posted
journalctl -xeu smb.service 1 ✘ 1m 34s
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit smb.service has finished with a failure.
░░
░░ The job identifier is 1952 and the job result is failed.
Aug 14 14:26:42 shank systemd[1]: Starting Samba SMB Daemon...
░░ Subject: A start job for unit smb.service has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit smb.service has begun execution.
░░
░░ The job identifier is 3148.
Aug 14 14:26:42 shank smbd[5401]: [2022/08/14 14:26:42.183883, 0] ../../source3/smbd/server.c:1741(main)
Aug 14 14:26:42 shank smbd[5401]: smbd version 4.16.4 started.
Aug 14 14:26:42 shank smbd[5401]: Copyright Andrew Tridgell and the Samba Team 1992-2022
Aug 14 14:28:12 shank systemd[1]: smb.service: start operation timed out. Terminating.
Aug 14 14:28:12 shank systemd[1]: smb.service: Failed with result 'timeout'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit smb.service has entered the 'failed' state with result 'timeout'.
Aug 14 14:28:12 shank systemd[1]: Failed to start Samba SMB Daemon.
░░ Subject: A start job for unit smb.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit smb.service has finished with a failure.
...skipping...
░░
░░ A start job for unit smb.service has finished with a failure.
░░
░░ The job identifier is 1952 and the job result is failed.
Aug 14 14:26:42 shank systemd[1]: Starting Samba SMB Daemon...
░░ Subject: A start job for unit smb.service has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit smb.service has begun execution.
░░
░░ The job identifier is 3148.
Aug 14 14:26:42 shank smbd[5401]: [2022/08/14 14:26:42.183883, 0] ../../source3/smbd/server.c:1741(main)
Aug 14 14:26:42 shank smbd[5401]: smbd version 4.16.4 started.
Aug 14 14:26:42 shank smbd[5401]: Copyright Andrew Tridgell and the Samba Team 1992-2022
Aug 14 14:28:12 shank systemd[1]: smb.service: start operation timed out. Terminating.
Aug 14 14:28:12 shank systemd[1]: smb.service: Failed with result 'timeout'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit smb.service has entered the 'failed' state with result 'timeout'.
Aug 14 14:28:12 shank systemd[1]: Failed to start Samba SMB Daemon.
░░ Subject: A start job for unit smb.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit smb.service has finished with a failure.
░░
░░ The job identifier is 3148 and the job result is failed.
lines 81-110/110 (END)
I think I’m gonna start a new thread since after update, my samba service is able to start and working fine… But I can’t connect to samba service… that weird
I’m created my own thread since my problem is not same as this thread, Thank you
(This thread samba service timeout, but my Samba service is running but I can’t connect to my Samba)
it’s good too for sharing file but if somehow I could use this in x-plore app I just don’t know if it’s LAN, or something else. I know samba act as LAN for exploring file over network but if I could use
python -m http.server the same way I would use it , it’s lot easier. There has to be another way to use it other than web browser
journalctl -xeu samba.service 1 ✘ 5s
Aug 15 12:56:47 shank samba[6675]: [2022/08/15 12:56:47.488618, 0] ../../lib/util/become_daemon.c:150(daemon_status)
Aug 15 12:56:47 shank samba[6675]: daemon_status: daemon 'samba' : Starting process...
Aug 15 12:56:47 shank samba[6675]: [2022/08/15 12:56:47.527221, 0] ../../source4/samba/server.c:851(binary_smbd_main)
Aug 15 12:56:47 shank samba[6675]: At this time the 'samba' binary should only be used for either:
Aug 15 12:56:47 shank samba[6675]: 'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or >
Aug 15 12:56:47 shank samba[6675]: You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
Aug 15 12:56:47 shank samba[6675]: [2022/08/15 12:56:47.527375, 0] ../../lib/util/become_daemon.c:119(exit_daemon)
Aug 15 12:56:47 shank samba[6675]: exit_daemon: daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, err>
Aug 15 12:56:47 shank systemd[1]: samba.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ An ExecStart= process belonging to unit samba.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Aug 15 12:56:47 shank systemd[1]: samba.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit samba.service has entered the 'failed' state with result 'exit-code'.
Aug 15 12:56:47 shank systemd[1]: Failed to start Samba AD Daemon.
░░ Subject: A start job for unit samba.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit samba.service has finished with a failure.
░░
░░ The job identifier is 2771 and the job result is failed.
lines 53-82/82 (END
Hi!!
I think that, maybe, something has changed upstream and from then Samba sharing doesn’t work as used to do. Since the last two stable updates I’ve seen some similar threads reporting issues with Samba:
I also have this problems myself, with error messages like “net usershare add: malformed acl (missing ‘:’).” or “net usershare add: cannot convert name “Everyone” to a SID. The transport connection is now disconnected…” when I try to interact with my shared folder.