summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/db/sysdb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/db/sysdb.c b/server/db/sysdb.c
index 7325f1127..a87b5c565 100644
--- a/server/db/sysdb.c
+++ b/server/db/sysdb.c
@@ -1775,6 +1775,13 @@ int sysdb_init(TALLOC_CTX *mem_ctx,
talloc_zfree(ctx_list);
return ret;
};
+ ret = sysdb_upgrade_04(ctx, &version);
+ if (ret != EOK) {
+ DEBUG(0, ("FATAL: Upgrade from db version %s failed!\n",
+ SYSDB_VERSION_0_4));
+ talloc_zfree(ctx_list);
+ return ret;
+ };
}
*_ctx_list = ctx_list;