summaryrefslogtreecommitdiff
path: root/source4/setup/upgrade_from_s3
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-26 10:01:29 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-26 10:07:36 +1000
commit76ff9bffd873e923c3fa156c60ccd34e7de3cdc2 (patch)
tree191b448f23753a794c6b645230001b008b38e4e0 /source4/setup/upgrade_from_s3
parenteebb37c9b23fab3c4dc0790352a557abaf0c9898 (diff)
downloadsamba-76ff9bffd873e923c3fa156c60ccd34e7de3cdc2.tar.gz
samba-76ff9bffd873e923c3fa156c60ccd34e7de3cdc2.tar.bz2
samba-76ff9bffd873e923c3fa156c60ccd34e7de3cdc2.zip
s3_upgrade: Set lock directory to correct directory
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/setup/upgrade_from_s3')
-rwxr-xr-xsource4/setup/upgrade_from_s33
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/setup/upgrade_from_s3 b/source4/setup/upgrade_from_s3
index c7a4b97ef4..81609e0349 100755
--- a/source4/setup/upgrade_from_s3
+++ b/source4/setup/upgrade_from_s3
@@ -87,16 +87,17 @@ else:
logger.setLevel(logging.INFO)
s3conf = s3param.get_context()
-#s3conf.load_default()
# Set correct default values from libdir or testparm
paths = {}
if libdir:
paths["state directory"] = libdir
paths["private dir"] = libdir
+ paths["lock directory"] = libdir
else:
paths["state directory"] = get_testparm_var(testparm, "state directory")
paths["private dir"] = get_testparm_var(testparm, "private dir")
+ paths["lock directory"] = get_testparm_var(testparm, "lock directory")
for p in paths:
s3conf.set(p, paths[p])