[Samba] samba-ad-dc from debian backports fails to start with /usr/sbin/samba missing

Luis Peromarta lperoma at icloud.com
Thu Jul 4 21:13:04 UTC 2024


Since samba 4.20 you need to install a new package for DCs. Try installing

samba-ad-dc

Regards.

LP
On 4 Jul 2024 at 20:45 +0100, Paul Leiber via samba <samba at lists.samba.org>, wrote:
> Am 04.07.2024 um 21:00 schrieb Rowland Penny via samba:
> > On Thu, 4 Jul 2024 20:27:37 +0200
> > Paul Leiber via samba <samba at lists.samba.org> wrote:
> >
> > > Dear Samba list,
> > >
> > > I have a Samba instance running as an ad-dc on debian bullseye.
> >
> > I suggest you upgrade, bullseye goes EOL in three weeks.
>
> Aww, my system is already on bookworm, not on bullseye. Sorry for making
> things more difficult than necessary with this mixup.
>
> > > Some
> > > time ago, I changed the standard installation to backports with
> > >
> > > apt -t bullseye-backports install samba
> >
> > I normally install these packages:
> > attr samba smbclient winbind libnss-winbind libpam-winbind ldb-tools
> > krb5-user python3-setproctitle
> >
> > >
> > > After a recent update, samba-ad-dc service didn't start anymore. The
> > > journal gave the following hint:
> > >
> > > Jul 04 20:05:37 xxx (samba)[5864]: samba-ad-dc.service: Failed at
> > > step EXEC spawning /usr/sbin/samba: No such file or directory
> > >
> > > Indeed, the file was not there.
> >
> > The Debian Samba maintainer has been doing some package changes lately,
> > not sure if they are relevant to bullseye, but it is possible, because
> > what you are describing is something that has been reported on
> > bookworm. There is now a new package called 'samba-ad-dc', this needs
> > to be installed or no AD DC.
> >
>
> That's it. After installing the package samba-ad-dc, everything seems to
> be working again.
>
> Thanks for the very quick help, Rowland!
>
> Paul
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba


More information about the samba mailing list