From 76ff9bffd873e923c3fa156c60ccd34e7de3cdc2 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Fri, 26 Aug 2011 10:01:29 +1000 Subject: s3_upgrade: Set lock directory to correct directory Signed-off-by: Andrew Bartlett --- source4/scripting/python/samba/upgrade.py | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/scripting') 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")) -- cgit