[Samba] bind crashes after samba upgrade

Sonic sonicsmith at gmail.com
Mon Dec 25 17:47:54 UTC 2023


On Mon, Dec 25, 2023 at 5:29 AM Rowland Penny via samba
<samba at lists.samba.org> wrote:
> First, Merry Christmas :-)
Thank you. A Happy Christmas to you!

> Lets try to help you with your problem (in between cooking the
> Christmas dinner ).
Thanks. Too bad holidays are the best days to do these major upgrades.

> I think the place to start is with your named.conf file.
I can't see anything wrong with it.

Oddly if I change to the internal dns:
=================================
# samba_upgradedns --dns-backend=SAMBA_INTERNAL
Reading domain information
DNS accounts already exist
No zone file /usr/local/samba/bind-dns/dns/MY.EXAMPLE.COM.zone
DNS records will be automatically created
DNS partitions already exist
Finished upgrading DNS
You have switched to using SAMBA_INTERNAL as your dns backend, but you
still have samba starting looking for a BIND backend. Please remove
the -dns from your server services line.
=================================
I do get working DNS but no authentication - no domain logins.

Changing back to BIND
=================================
# samba_upgradedns --dns-backend=BIND9_DLZ
Reading domain information
DNS accounts already exist
No zone file /usr/local/samba/bind-dns/dns/MY.EXAMPLE.COM.zone
DNS records will be automatically created
DNS partitions already exist
Adding dns-example01 account
See /usr/local/samba/bind-dns/named.conf for an example configuration
include file for BIND
and /usr/local/samba/bind-dns/named.txt for further documentation
required for secure DNS updates
Finished upgrading DNS
You have switched to using BIND9_DLZ as your dns backend, but still
have the internal dns starting. Please make sure you add '-dns' to
your server services line in your smb.conf.
=================================
And now BIND will not start, crashes when attempting to dlopen. Even
after updating the paths of samba's named.conf and dns.keytab.

Instead of:
=================================
named[266]: Loading 'AD DNS Zone' using driver dlopen
named[266]: samba_dlz: started for DN DC=my,DC=example,DC=com
named[266]: samba_dlz: starting configure
=================================
I get:
=================================
named[2785]: Loading 'AD DNS Zone' using driver dlopen
systemd[1]: bind9.service: Main process exited, code=killed, status=11/SEGV
=================================

I've attempted this upgrade with both 4.11 stable and 4.12 stable (I
can't build anything greater than 4.12 on the system due to
dependencies that samba needs being unavailable). Both upgrades were
built with the same configuration except for --enable-gnutls which is
no longer an option for >4.10 as it's mandatory.

Where is Santa?



More information about the samba mailing list