summaryrefslogtreecommitdiff
path: root/dynconfig/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-08-10 15:04:08 +0200
committerJeremy Allison <jra@samba.org>2017-09-05 23:58:20 +0200
commit4c9608fb27b0f1bef846b72291ecb515045d3507 (patch)
treedaacad4d746f60e54cc289f18dea373ec4145130 /dynconfig/wscript
parent3b1aa2ca5f9ae151cd64579ed05c8fb766b1ec5d (diff)
downloadsamba-4c9608fb27b0f1bef846b72291ecb515045d3507.tar.gz
param: Add 'binddns dir' parameter
This allows to us to have restricted access to the directory by the group 'named' which bind is a member of. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Diffstat (limited to 'dynconfig/wscript')
-rw-r--r--dynconfig/wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/dynconfig/wscript b/dynconfig/wscript
index ba0c896b90e..fee37eaaf5f 100644
--- a/dynconfig/wscript
+++ b/dynconfig/wscript
@@ -192,6 +192,12 @@ dynconfig = {
'OPTION': '--with-statedir',
'HELPTEXT': 'Where to put persistent state files',
},
+ 'BINDDNS_DIR' : {
+ 'STD-PATH': '${LOCALSTATEDIR}/lib',
+ 'FHS-PATH': '${LOCALSTATEDIR}/lib/samba/bind-dns',
+ 'OPTION': '--with-bind-dns-dir',
+ 'HELPTEXT': 'bind-dns config directory',
+ },
'CACHEDIR' : {
'STD-PATH': '${LOCALSTATEDIR}/cache',
'FHS-PATH': '${LOCALSTATEDIR}/cache/samba',
@@ -419,6 +425,7 @@ def build(bld):
bld.INSTALL_DIR("${LOGFILEBASE}")
bld.INSTALL_DIR("${PRIVILEGED_SOCKET_DIR}")
bld.INSTALL_DIR("${PRIVATE_DIR}", 0o700)
+ bld.INSTALL_DIR("${BINDDNS_DIR}", 0o770)
bld.INSTALL_DIR("${STATEDIR}")
bld.INSTALL_DIR("${CACHEDIR}")