-2
I have a Samba system that was running normally, but now is presenting problems, not start.
When rotating:
sudo systemctl status samba-ad-dc.service
Displays the following error:
../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [Failed to startup ldap server task]
I have tried several solutions between them:
Mask and unmask samba-ad-dc, smbd, nmbd, Winbind services (works without errors, but does not solve the problem).
Disable the services mentioned above (Performs but returns several Warnings, among them the:
insserv: warning: current start runlevel(s) (empty) of script `smbd' overrides LSB defaults (2 3 4 5).
).Restart nslcd (works without errors, but does not solve the problem).
Use
dpkg --configure -a
(Shows error in samba package and cannot fix).Update CA-certficates (works without errors, but does not solve the problem).
Version of Ubuntu: 16.04.7 LTS
Version of Samba: 4.7.6-Ubuntu