From e61b0e41cb44004d2b260ad9d05802995f7bcb2e Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 25 Jun 2015 17:33:47 +0200 Subject: SYSDB: Index the objectSIDString attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Michal Židek --- src/db/sysdb.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/db/sysdb.c') diff --git a/src/db/sysdb.c b/src/db/sysdb.c index 9da65575..07a83a8a 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 -- cgit