From
http://samba.bigbird.es/doku.php?id=samba:upgrade-sama
4.20 has a new package samba-ad-dc (split from other binaries in previous
versions) that provides DC functionality.
Before 4.20, there is a meta-package with the same name that provides
compatibility before the upgrade. It is recommended to install this meta package
samba-ad-dc before upgrading to 4.20, so the upgrade has all its binaries in
place and all works as expected.
If your version of Samba is very old and there is no samba-ad-dc meta package,
please be aware you will need to install the additional package samba-ad-dc
right after your upgrade.
On Sep 11, 2024 at 08:14 +0200, Joachim Lindenberg via samba <samba at
lists.samba.org>, wrote:> I upgraded one of my DCs from 4.19 to 4.20 using Michaels repository
(http://www.corpit.ru/mjt/packages/samba jammy/samba-4.20/), and the DC is now
no longer responding.
>
> systemctl status samba-ad-dc returns:
>
> ? samba-ad-dc.service - LSB: Samba daemons for the AD DC
>
> Loaded: loaded (/etc/init.d/samba-ad-dc; generated)
>
> Active: active (exited) since Wed 2024-09-11 02:38:32 UTC; 3h 29min ago
>
> Docs: man:systemd-sysv-generator(8)
>
> Process: 634 ExecStart=/etc/init.d/samba-ad-dc start (code=exited,
status=0>
>
> CPU: 14ms
>
>
>
> Sep 11 02:38:32 boa systemd[1]: Starting LSB: Samba daemons for the AD
DC...
>
> Sep 11 02:38:32 boa systemd[1]: Started LSB: Samba daemons for the AD DC.
>
>
>
> Whereas on 4.19 it looks like:
>
> ? samba-ad-dc.service - Samba AD Daemon
>
> Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; vendor
p>
>
> Active: active (running) since Wed 2024-09-11 01:31:50 UTC; 4h 37min ago
>
> Docs: man:samba(8)
>
> man:samba(7)
>
> man:smb.conf(5)
>
> Process: 629 ExecCondition=/usr/share/samba/is-configured samba
(code=exite>
>
> Main PID: 770 (samba)
>
> Status: "samba: ready to serve connections..."
>
> Tasks: 58 (limit: 850)
>
> Memory: 158.0M
>
> CPU: 32min 57.597s
>
> CGroup: /system.slice/samba-ad-dc.service
>
> ?? 770 "samba: root process" "" ""
"" "" "" "" "" ""
"" "" "" "" >
>
> ?? 854 "samba: tfork waiter process(855)" ""
"" "" "" "" "" ""
"">
>
> ?? 855 "samba: task[s3fs] pre-fork master" ""
"" "" "" "" "" ""
">
>
> ?? 856 "samba: tfork waiter process(857)" ""
"" "" "" "" "" ""
"">
>
> ?? 857 "samba: task[rpc] pre-fork master" ""
"" "" "" "" "" ""
"">
>
> ?? 860 "samba: tfork waiter process(861)" ""
"" "" "" "" "" ""
"">
>
> ?? 861 /usr/sbin/smbd -D "--option=server role
check:inhibit=yes">
>
> ?? 862 "samba: tfork waiter process(863)" ""
"" "" "" "" "" ""
"">
>
> ?? 863 "samba: task[wrepl] pre-fork master" ""
"" "" "" "" "" ""
>
>
> ?? 864 "samba: tfork waiter process(865)" ""
"" "" "" "" "" ""
"">
>
> ?
>
>
>
> None of the logs in /var/log/samba is modified after the upgrade.
>
> Any clue?
>
> Thanks,
>
> Joachim
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba