[Pkg-samba-maint] Bug#1107139: samba-libs: DLZ module for bind9 version 9.20.x is missing, which breaks --dns-backend=BIND9_DLZ in trixie

Steven Monai stevemoca at gmail.com
Mon Jun 2 05:28:35 BST 2025


Package: samba-libs
Version: 2:4.22.1+dfsg-1
Severity: important

Dear Maintainer,

Testing Samba AD provisioning in a freshly installed Debian trixie 
machine, I discovered that samba-libs does not provide a DLZ module for 
the trixie version of bind9.

Steps to reproduce:

* Create a new Debian trixie virtual machine
* Install packages: samba, samba-ad-dc, bind9 (plus a few more)
* Provision a new AD domain, with --dns-backend=BIND9_DLZ
* Include /var/lib/samba/bind-dns/named.conf in /etc/bind/named.conf
* Restart services: samba-ad-dc, named
* Attempt to resolve the newly-provisioned domain's NS record
* Observe the resolver reports NXDOMAIN instead of the expected NS record

I see that /var/lib/samba/bind-dns/named.conf does not contain config 
lines for the version of bind9 in trixie (9.20.x), which I expect should 
look like this:

# For BIND 9.20.x
database "dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_20.so";

Also, the file /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_20.so 
does not exist, although there are files for earlier versions of bind9 
within that directory:

root at dc:~# dpkg -L samba-libs | grep -i dlz
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_10.so
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_11.so
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_12.so
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_14.so
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_16.so
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_18.so

Can this can be remedied in time for Trixie's release? Or is there a 
work-around or alternative way to get BIND9_DLZ to work in trixie?

Thank you,
-S.M.


-- System Information:
Debian Release: 13.0
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.27-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages samba-libs depends on:
ii  libacl1           2.3.2-2+b1
ii  libavahi-client3  0.8-16
ii  libavahi-common3  0.8-16
ii  libbsd0           0.12.2-2
ii  libc6             2.41-8
ii  libcap2           1:2.75-7
ii  libcrypt1         1:4.4.38-1
ii  libgnutls30t64    3.8.9-2
ii  libicu76          76.1-3
ii  libjansson4       2.14-2+b3
ii  libkeyutils1      1.6.3-6
ii  libldap2          2.6.9+dfsg-2
ii  libldb2           2:2.11.0+samba4.22.1+dfsg-1
ii  libpam0g          1.7.0-3
ii  libpopt0          1.19+dfsg-2
ii  libsystemd0       257.6-1
ii  libtalloc2        2:2.4.3+samba4.22.1+dfsg-1
ii  libtdb1           2:1.4.13+samba4.22.1+dfsg-1
ii  libtevent0t64     2:0.16.2+samba4.22.1+dfsg-1
ii  libtirpc3t64      1.3.6+ds-1
ii  libwbclient0      2:4.22.1+dfsg-1
ii  zlib1g            1:1.3.dfsg+really1.3.1-1+b1

samba-libs recommends no packages.

samba-libs suggests no packages.

-- no debconf information



More information about the Pkg-samba-maint mailing list