You are not logged in.
Since updates of Samba came about bit over a month ago I've been trying to resolve this issue without luck.
Attempted degrading to last functional version (4.2.1-1), but won't work with updated system.
Restoring backup however (of June 11th) does bring it back alive - but then once again as soon as system's updated smbd.service stops working.
Currently assuming it's something I've been overlooking seeing how ignoring the packages "samba", "smbclient" and "libwclient" during update after restoring the backup still will make Samba fail.
Complete removal of samba and settings then re-installing fresh will generate same error, hence doubting the settings are at fault in this case.
# systemctl status smbd.service -l
● smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2015-10-13 23:15:00 CEST; 19s ago
Process: 3265 ExecStart=/usr/bin/smbd -D (code=exited, status=1/FAILURE)
Main PID: 2796 (code=exited, status=1/FAILURE)
Oct 13 23:15:00 Arch-Computer systemd[1]: Starting Samba SMB/CIFS server...
Oct 13 23:15:00 Arch-Computer systemd[1]: smbd.service: Control process exited, code=exited status=1
Oct 13 23:15:00 Arch-Computer systemd[1]: Failed to start Samba SMB/CIFS server.
Oct 13 23:15:00 Arch-Computer systemd[1]: smbd.service: Unit entered failed state.
Oct 13 23:15:00 Arch-Computer systemd[1]: smbd.service: Failed with result 'exit-code'.
# journalctl -xe
Oct 13 23:14:56 Arch-Computer polkitd[1032]: Registered Authentication Agent for unix-process:3256:121737 (system bus name :1.79 [
Oct 13 23:15:00 Arch-Computer polkitd[1032]: Operator of unix-session:c1 successfully authenticated as unix-user:user to gain TEMPO
Oct 13 23:15:00 Arch-Computer systemd[1]: Starting Samba SMB/CIFS server...
-- Subject: Unit smbd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smbd.service has begun starting up.
Oct 13 23:15:00 Arch-Computer systemd[1]: smbd.service: Control process exited, code=exited status=1
Oct 13 23:15:00 Arch-Computer systemd[1]: Failed to start Samba SMB/CIFS server.
-- Subject: Unit smbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smbd.service has failed.
--
-- The result is failed.
Oct 13 23:15:00 Arch-Computer systemd[1]: smbd.service: Unit entered failed state.
Oct 13 23:15:00 Arch-Computer systemd[1]: smbd.service: Failed with result 'exit-code'.
Oct 13 23:15:00 Arch-Computer polkitd[1032]: Unregistered Authentication Agent for unix-process:3256:121737 (system bus name :1.79
Depending on what I try, I may get error that there's no backend for "tdbsam" to be found... searched a lot and found that some had resolved similar issue by installing "ldap", however didn't work out for me.
# cat /var/log/samba/smbd.log
[2015/10/13 23:04:26.216870, 0] ../source3/passdb/pdb_interface.c:170(make_pdb_method_name)
No builtin nor plugin backend for tdbsam found
Would greatly appriciate any pointers as to what might help resolving this issue.
Last edited by am2del (2015-10-22 15:47:27)
Offline
I have the same issue on Manjaro (Arch). It was working prior to updates... I'll let you know if I figure it out.
Offline
This is what solved my issue:
# chmod 0755 /var/cache/samba/msg
# systemctl start smbd
# systemctl start nmbd
Offline
This is what solved my issue:
# chmod 0755 /var/cache/samba/msg
# systemctl start smbd
# systemctl start nmbd
Didn't work for me, tried all from permissions to version-degrading and a lot of other things... none worked.
However! The recent update, version 4.3.1-1, resolved the issue completely. Tried to replicate the issue after 4.3.1-1 became available, but seems impossible. Working like a charm now so highly likely a bug which 'caused the malfunction.
Marking topic as solved.
Last edited by am2del (2015-10-22 15:48:11)
Offline