diff -r bab2befaac9b -r d9a1e7939ee6 server/__init__.py --- a/server/__init__.py Fri Jun 13 12:07:51 2014 +0200 +++ b/server/__init__.py Fri Jun 13 13:54:28 2014 +0200 @@ -289,6 +289,7 @@ config._cubes = None # avoid assertion error repo = get_repository(config=config) with connect(repo, login, password=pwd) as cnx: + cnx = cnx._cnx # client connection -> repo connection with cnx.security_enabled(False, False): repo.system_source.eid = ssource.eid # redo this manually handler = config.migration_handler(schema, interactive=False,