summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-26 17:49:01 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-26 18:19:27 +1100
commit1e2ac9b8967f820cdabcc32578685cea9f644c03 (patch)
tree87067e7c283ee0c6bf1564c383133607d4484e35 /source4
parent97d65774d4c91ab046bf67c7c99a47a37b340d08 (diff)
downloadsamba-1e2ac9b8967f820cdabcc32578685cea9f644c03.tar.gz
samba-1e2ac9b8967f820cdabcc32578685cea9f644c03.tar.bz2
samba-1e2ac9b8967f820cdabcc32578685cea9f644c03.zip
s4-provision: fixed use of rndc command from python
rndc command is now a list
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 2dd664303d..def91f3651 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -1541,7 +1541,7 @@ def create_zone_file(lp, message, paths, targetdir, setup_path, dnsdomain,
# we need to freeze the zone while we update the contents
if targetdir is None:
- rndc = lp.get("rndc command")
+ rndc = ' '.join(lp.get("rndc command"))
os.system(rndc + " freeze " + lp.get("realm"))
setup_file(setup_path("provision.zone"), paths.dns, {