summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2011-07-20 12:56:22 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-21 08:51:54 +0200
commitbed50f04cb2234a0a2d6f3036405237b465b46ae (patch)
treed73a76886db98b6eb6d0c1413281a37c54fa857b /source4/scripting
parent7f9d45bf10d36b1b443305e0f2e79cb448b98cbd (diff)
downloadsamba-bed50f04cb2234a0a2d6f3036405237b465b46ae.tar.gz
samba-bed50f04cb2234a0a2d6f3036405237b465b46ae.tar.bz2
samba-bed50f04cb2234a0a2d6f3036405237b465b46ae.zip
s4-param: use "state directory" and "cache directory" options
instead of "state dir" and "cache dir" in order be compatible with the source3 code. Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/provision/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py
index 5b8dc70329..4724afed1f 100644
--- a/source4/scripting/python/samba/provision/__init__.py
+++ b/source4/scripting/python/samba/provision/__init__.py
@@ -719,19 +719,19 @@ def make_smbconf(smbconf, hostname, domain, realm, serverrole,
if targetdir is not None:
privatedir_line = "private dir = " + os.path.abspath(os.path.join(targetdir, "private"))
lockdir_line = "lock dir = " + os.path.abspath(targetdir)
- statedir_line = "state dir = " + os.path.abspath(targetdir)
- cachedir_line = "cache dir = " + os.path.abspath(targetdir)
+ statedir_line = "state directory = " + os.path.abspath(targetdir)
+ cachedir_line = "cache directory = " + os.path.abspath(targetdir)
lp.set("lock dir", os.path.abspath(targetdir))
- lp.set("state dir", os.path.abspath(targetdir))
- lp.set("cache dir", os.path.abspath(targetdir))
+ lp.set("state directory", os.path.abspath(targetdir))
+ lp.set("cache directory", os.path.abspath(targetdir))
else:
privatedir_line = ""
lockdir_line = ""
statedir_line = ""
cachedir_line = ""
- sysvol = os.path.join(lp.get("state dir"), "sysvol")
+ sysvol = os.path.join(lp.get("state directory"), "sysvol")
netlogon = os.path.join(sysvol, realm.lower(), "scripts")
setup_file(setup_path("provision.smb.conf.%s" % smbconfsuffix),