Web lists-archives.com

[Samba] Samba 4.7.1 Switching from SAMBA_INTERNAL to BIND_DLZ failed




Hi List!

Im trying to switch from using the samba internal dns to bind.
Im running a self-compiled samba 4.7.1 pair of DCs on Centos 7.2.

After following the steps in the wiki, named refuses to start with this error:

● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2017-11-24 21:58:41
WAT; 4min 10s ago
  Process: 9321 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF}
$OPTIONS (code=exited, status=1/FAILURE)
  Process: 9318 ExecStartPre=/bin/bash -c if [ !
"$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z
"$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi
(code=exited, status=0/SUCCESS)
 Main PID: 8949 (code=exited, status=0/SUCCESS)

Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]: listening
on IPv6 interface lo, ::1#53
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]:
generating session key for dynamic DNS
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]: sizing
zone task pool based on 7 zones
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]: Loading
'AD DNS Zone' using driver dlopen
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]:
dlz_dlopen failed to open library
'/usr/local/samba/lib/bind9/dlz_bind9_9.so' -
/usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.7.1' not found
(required by /usr/local/samba/lib/libsamba-util.so.0)
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com named[9323]:
dlz_dlopen of 'AD DNS Zone' failed
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com systemd[1]:
named.service: control process exited, code=exited status=1
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com systemd[1]: Failed to
start Berkeley Internet Name Domain (DNS).
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com systemd[1]: Unit
named.service entered failed state.
Nov 24 21:58:41 testdc1.mytestdom.testsamba.com systemd[1]:
named.service failed.

Please what am I doing wrong?

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