Web lists-archives.com

Re: [Samba] dlz_bind9_9.so: failed to map segment from shared object

On 25/05/2019 20:28, Maurizio Caloro wrote:
>Was Bind9 installed when you provisioned Samba ?
>Why does the first 'named' log line refer to 'dlz_bind9_9.so' ?
>Can you post the contents of your named.conf files ?

Hello Rowland

root@X200:/etc/bind# cat "/var/lib/samba/bind-dns/named.conf"
# This DNS configuration is for BIND 9.8.0 or later with dlz_dlopen support.
# This file should be included in your main BIND configuration file
# For example with
# include "/var/lib/samba/bind-dns/named.conf";

# This configures dynamically loadable zones (DLZ) from AD schema
# Uncomment only single database line, depending on your BIND version
dlz "AD DNS Zone" {
    # For BIND 9.11.x
     database "dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_11.so -d 3";

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


No, ALL of your named named.conf files, this includes the ones in /etc/bind 'named.conf, named.conf.options, named.conf.local, named.conf.default-zones and finally the one you have posted, but from before you changed it.

Can you also answer the question, was bind9 installed before you provisioned Samba ?


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba