]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
dns: Enable dnsserver_common install when not ad dc
authorDavid Mulder <dmulder@suse.com>
Thu, 10 Jun 2021 15:53:56 +0000 (09:53 -0600)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 20 Jun 2021 22:06:36 +0000 (22:06 +0000)
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 <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dns_server/wscript_build

index ce786f635ae2dfee7e4088045dbeb66c6cb7d17f..8f606f926921f77fc8d8e4054a51bbeae8761e23 100644 (file)
@@ -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',