From: David Mulder Date: Thu, 10 Jun 2021 15:53:56 +0000 (-0600) Subject: dns: Enable dnsserver_common install when not ad dc X-Git-Tag: tevent-0.11.0~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f241fe5d46e8dd2b3265be7eddbd6686a6f920db;p=thirdparty%2Fsamba.git dns: Enable dnsserver_common install when not ad dc dnsserver_common is enabled without the ad-dc to prevent imports from failing when samba-tool is called where the ad-dc was not built. The server-side dns code is used in the client when we do direct LDAP modification of DNS records. Signed-off-by: David Mulder Reviewed-by: Andrew Bartlett --- diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build index ce786f635ae..8f606f92692 100644 --- a/source4/dns_server/wscript_build +++ b/source4/dns_server/wscript_build @@ -1,10 +1,12 @@ #!/usr/bin/env python +# dnsserver_common is enabled without the ad-dc to prevent imports from failing +# when samba-tool is called where the ad-dc was not built. The server-side dns +# code is used in the client when we do direct LDAP modification of DNS records. bld.SAMBA_LIBRARY('dnsserver_common', source='dnsserver_common.c', deps='samba-util samba-errors ldbsamba clidns', - private_library=True, - install=bld.AD_DC_BUILD_IS_ENABLED() + private_library=True ) bld.SAMBA_MODULE('service_dns',