[Samba] Samba Crashes on AD DC if "unix extensions" is Enabled
John R. Graham
john at graham-family.org
Thu Dec 5 14:51:11 UTC 2024
On 12/5/24 09:36, Rowland Penny via samba wrote:
> I would like to see the lines above that, it is possible that you are
> starting the wrong binary.
>
> You still appear to be using init.d scripts and the 'samba' init.d
> script used to start the smbd & nmbd binaries, on a DC you should start
> the 'samba' binary (not to be confused with the 'samba' init.d script)
> and this starts smbd and winbindd.
>
> Rowland
These are init scripts for the Gentoo-maintained OpenRC init system, not
what ships with samba. Here's a complete set of messages from a clean
start (without unix extensions enabled):
Dec 5 09:42:28 ceres samba[24856]: [2024/12/05 09:42:28.619902,
0] ../../source4/samba/server.c:633(binary_smbd_main)
Dec 5 09:42:28 ceres samba[24856]: samba version 4.21.1 started.
Dec 5 09:42:28 ceres samba[24856]: Copyright Andrew Tridgell and
the Samba Team 1992-2024
Dec 5 09:42:28 ceres smbd[24873]: [2024/12/05 09:42:28.949806, 0]
../../source3/smbd/server.c:1965(main)
Dec 5 09:42:28 ceres smbd[24873]: smbd version 4.21.1 started.
Dec 5 09:42:28 ceres smbd[24873]: Copyright Andrew Tridgell and
the Samba Team 1992-2024
Dec 5 09:42:29 ceres winbindd[24901]: [2024/12/05
09:42:29.040023, 0] ../../source3/winbindd/winbindd.c:1447(main)
Dec 5 09:42:29 ceres winbindd[24901]: winbindd version 4.21.1
started.
Dec 5 09:42:29 ceres winbindd[24901]: Copyright Andrew Tridgell
and the Samba Team 1992-2024
and with unix extension enabled:
Well, hmm, this time it doesn't crash. The *only* change on the AD I
made was to uncomment the "unix extensions = yes" line in smb.conf.
- John
More information about the samba
mailing list