diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-08-26 10:01:29 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-26 10:07:36 +1000 |
commit | 76ff9bffd873e923c3fa156c60ccd34e7de3cdc2 (patch) | |
tree | 191b448f23753a794c6b645230001b008b38e4e0 /source4/scripting/python | |
parent | eebb37c9b23fab3c4dc0790352a557abaf0c9898 (diff) | |
download | samba-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/scripting/python')
-rw-r--r-- | source4/scripting/python/samba/upgrade.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/upgrade.py b/source4/scripting/python/samba/upgrade.py index ff4db9bb2b..7386d0b4b1 100644 --- a/source4/scripting/python/samba/upgrade.py +++ b/source4/scripting/python/samba/upgrade.py @@ -562,6 +562,7 @@ def upgrade_from_samba3(samba3, logger, targetdir, session_info=None): new_lp_ctx.load(result.lp.configfile) new_lp_ctx.set("private dir", result.lp.get("private dir")) new_lp_ctx.set("state directory", result.lp.get("state directory")) + new_lp_ctx.set("lock directory", result.lp.get("lock directory")) # Connect to samba4 backend s4_passdb = passdb.PDB(new_lp_ctx.get("passdb backend")) |