s4:bind_dlz: Use the 'binddns dir' if possible
authorAndreas Schneider <asn@samba.org>
Tue, 22 Aug 2017 15:10:01 +0000 (17:10 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 Sep 2017 21:58:20 +0000 (23:58 +0200)
commit3fa7c43ef73b6582e8985bf6d82465ffded9e5db
tree2511f5d780f4f03994ba9cfd737d583bac67280d
parent4c9608fb27b0f1bef846b72291ecb515045d3507
s4:bind_dlz: Use the 'binddns dir' if possible

The code makes sure we are backwards compatible. It will first check if
we still have files in the private directory, if yes it will use those.

If the the file is not in the private directory it will try the binddns
dir.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
selftest/selftest.pl
selftest/target/Samba3.pm
selftest/target/Samba4.pm
source4/dns_server/dlz_bind9.c
source4/dsdb/dns/dns_update.c
source4/torture/dns/dlz_bind9.c