s4-provision: Generate appropriate named.conf file depending on dns_backend
authorAmitay Isaacs <amitay@gmail.com>
Thu, 8 Sep 2011 05:33:41 +0000 (15:33 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 12 Sep 2011 10:42:16 +0000 (20:42 +1000)
commit0b089880f021121320744f4f1b742857c0cb5cbf
tree4f697d624b1a31cfba7a9ff47fe00b6fc84a5a3e
parent295361c13d12782b2248e53b30e4101a41a96f90
s4-provision: Generate appropriate named.conf file depending on dns_backend

For --dns_backend=BIND9, generate the dns zone file, and named.conf with
zone information.

For --dns-backend=BIND9_DLZ, generate the named.conf with dlz directive.

If no option is specified, default dns_backend is BIND9.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/provision/__init__.py