samba_upgradedns: When we setup the internal dns cleanup bind-dns dir
authorAndreas Schneider <asn@samba.org>
Tue, 5 Sep 2017 09:47:27 +0000 (11:47 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 15 Sep 2017 22:57:25 +0000 (00:57 +0200)
commit05169a6047e6e3271949c96652a667f624e9a62d
tree06fa173fd60cee1571bf9b13a25cd238d655bc02
parent8cf5c5f0fae97c7215eb09070049cdb29377dc97
samba_upgradedns: When we setup the internal dns cleanup bind-dns dir

Make sure to remove everything from the bind-dns directory to avoid
possible security issues with the named group having write access to all
AD partions

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/scripting/bin/samba_upgradedns