git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d6577
)
s4-provision: fixed use of rndc command from python
author
Andrew Tridgell
<tridge@samba.org>
Fri, 26 Feb 2010 06:49:01 +0000
(17:49 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 26 Feb 2010 07:19:27 +0000
(18:19 +1100)
rndc command is now a list
source4/scripting/python/samba/provision.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/provision.py
b/source4/scripting/python/samba/provision.py
index 2dd664303da0537984705a2ac3e3e85d18bbef3e..def91f36517375cf224f662ccdcf6ce59b5b11db 100644
(file)
--- 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, {