summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-08 22:33:48 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit73120327cc136229d56d08f7f8c5e8df4129c1e3 (patch)
treecdbf9a8f217f8caf735f9d06929ce0ba1b68b91d /src/db/sysdb.c
parent62dbfd0596aa15ddf0d9384f426814edcf627331 (diff)
downloadsssd-73120327cc136229d56d08f7f8c5e8df4129c1e3.tar.gz
sssd-73120327cc136229d56d08f7f8c5e8df4129c1e3.tar.xz
sssd-73120327cc136229d56d08f7f8c5e8df4129c1e3.zip
Upgrade DB and move ranges into top level object
Diffstat (limited to 'src/db/sysdb.c')
-rw-r--r--src/db/sysdb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index 4127b912f..2647c630a 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -1129,6 +1129,13 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
}
}
+ if (strcmp(version, SYSDB_VERSION_0_14) == 0) {
+ ret = sysdb_upgrade_14(sysdb, &version);
+ if (ret != EOK) {
+ goto done;
+ }
+ }
+
/* The version should now match SYSDB_VERSION.
* If not, it means we didn't match any of the
* known older versions. The DB might be