[Samba] ubuntu same samba 4.18.6 an two DCs but different samba services
rpenny at samba.org
Tue Sep 19 08:38:45 UTC 2023
On Mon, 18 Sep 2023 10:00:03 +0200
Frank via samba <samba at lists.samba.org> wrote:
> Hi Rowland, thanks for your answer.
> > Could this be that (rather stupidly) they have renamed
> > 'samba-ad-dc.service' to 'samba4.service' ?
> I don't think so because in "/etc/ini.d" both scripts (samba4 and
> samba-ad-dc) exist and are different. The difference is "samba4" does
> the check of server role and start corresponding daemons in each case
> (samba if it is a DC, or smbd-nmbd-winbind if it is a member) and the
> original samba member service daemons are masked as well.
Hang on, if I remember correctly, doesn't Linux schools (was karoshi)
have separate packages for a DC and the clients ? If this is the case,
what is such a script doing on on a DC?
Having said that, how a distro starts Samba has nothing to do with
Samba, so I suggest you ask Linux schools.
> > If you run 'ps ax' in a terminal on the DCs, do you see the samba,
> > smbd and winbind daemons running ?
> They are. All of them are running as expected.
Well, at least everything is working, even if each DC is using a
> > Personally, I wouldn't run the linux schools distro, I investigated
> > it and found that it did (rather extensively) what Samba doesn't
> > recommend, it uses the DCs as fileservers (and just about everything
> > else, including the kitchen sink). There is also the problem that
> > their GUI isn't multi DC aware, you really should only use one DC
> > for administration.
> > Rowland
> We chose "linux schools distro" only for samba. We chose it because
> it has the latest distribution.
> Is there another better distro with latest samba for ubuntu 22.04?
Not sure why you are wedded to Ubuntu 22.04, but that is your choice.
However, while not a distro, the Debian Samba maintainer provides
up to date Samba packages for Ubuntu, see here:
More information about the samba