summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-10-31 16:17:08 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-11-02 14:18:55 -0400
commit0387564f38698c5301b76b24eda000c448174171 (patch)
tree83e9375636fda167dc4ef87936250672c63c4e03 /src/db/sysdb.c
parent583f7e8c7178f2019df0f00d9dafe973e88ed707 (diff)
downloadsssd_unused-0387564f38698c5301b76b24eda000c448174171.tar.gz
sssd_unused-0387564f38698c5301b76b24eda000c448174171.tar.xz
sssd_unused-0387564f38698c5301b76b24eda000c448174171.zip
SYSDB: add index for nameAlias
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 54a4257c..c49399f7 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -921,6 +921,13 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
}
}
+ if (strcmp(version, SYSDB_VERSION_0_7) == 0) {
+ ret = sysdb_upgrade_07(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