summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-06-25 17:33:47 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-25 17:33:47 +0200
commit2302b7f53869db17fe6f733f52cce94d9714eeb4 (patch)
treea2e8c98b07ba8bfd2bd60b2181d5bf7c171edfba /src/db/sysdb.c
parentd0d6956c3748ba670448edd548b8edd37c5f5c1a (diff)
downloadsssd-sid_index.tar.gz
sssd-sid_index.tar.xz
sssd-sid_index.zip
SYSDB: Index the objectSIDString attributesid_index
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 9da655759..07a83a8a8 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -1265,6 +1265,13 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
}
}
+ if (strcmp(version, SYSDB_VERSION_0_16) == 0) {
+ ret = sysdb_upgrade_16(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