John R. Graham
2024-Dec-05 14:08 UTC
[Samba] Samba Crashes on AD DC if "unix extensions" is Enabled
/var/log/messages shows: ??? Dec? 5 08:33:45 ceres smbd[12109]: smbd version 4.21.1 started. ??? Dec? 5 08:33:45 ceres smbd[12109]:?? Copyright Andrew Tridgell and the Samba Team 1992-2024 ??? Dec? 5 08:33:45 ceres samba[12095]: [2024/12/05 08:33:45.176096,? 0] ../../source4/samba/server.c:403(samba_terminate) ??? Dec? 5 08:33:45 ceres samba[12095]:?? samba_terminate: samba_terminate of samba 12095: kdc failed to setup interfaces ??? Dec? 5 08:36:52 ceres /etc/init.d/samba[12570]: status: crashed Is this another of those, "I told you not to have shares on your DC!" situations? (Moving away from them. Promise.) - John
Kees van Vloten
2024-Dec-05 14:21 UTC
[Samba] Samba Crashes on AD DC if "unix extensions" is Enabled
Op 05-12-2024 om 15:08 schreef John R. Graham via samba:> /var/log/messages shows: > > ??? Dec? 5 08:33:45 ceres smbd[12109]: smbd version 4.21.1 started. > ??? Dec? 5 08:33:45 ceres smbd[12109]:?? Copyright Andrew Tridgell and > the Samba Team 1992-2024 > ??? Dec? 5 08:33:45 ceres samba[12095]: [2024/12/05 08:33:45.176096,? > 0] ../../source4/samba/server.c:403(samba_terminate) > ??? Dec? 5 08:33:45 ceres samba[12095]:?? samba_terminate: > samba_terminate of samba 12095: kdc failed to setup interfaces > ??? Dec? 5 08:36:52 ceres /etc/init.d/samba[12570]: status: crashed > > Is this another of those, "I told you not to have shares on your DC!" > situations? (Moving away from them. Promise.) >I would not be surprised, the fileserver code is in /source3 whereas the DC code (and its file-sharing subset) are in /source4... I would think (i.e. not verified) that unix extensions for smb3 (as they belong to the file server) have landed in /source3. As you can see in the log, your code failed in /source4. - Kees.> - John > > >
Rowland Penny
2024-Dec-05 14:36 UTC
[Samba] Samba Crashes on AD DC if "unix extensions" is Enabled
On Thu, 5 Dec 2024 09:08:14 -0500 "John R. Graham via samba" <samba at lists.samba.org> wrote:> /var/log/messages shows: > > ??? Dec? 5 08:33:45 ceres smbd[12109]: smbd version 4.21.1 started. > ??? Dec? 5 08:33:45 ceres smbd[12109]:?? Copyright Andrew Tridgell > and the Samba Team 1992-2024 > ??? Dec? 5 08:33:45 ceres samba[12095]: [2024/12/05 08:33:45.176096, > 0] ../../source4/samba/server.c:403(samba_terminate) > ??? Dec? 5 08:33:45 ceres samba[12095]:?? samba_terminate: > samba_terminate of samba 12095: kdc failed to setup interfaces > ??? Dec? 5 08:36:52 ceres /etc/init.d/samba[12570]: status: crashed > > Is this another of those, "I told you not to have shares on your DC!" > situations? (Moving away from them. Promise.) > > - JohnI 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