From 9ad2756fcf4df945f4cd09238e3f9fe707b0b70c Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 13 Jun 2014 18:38:22 +0200 Subject: sysdb: make canonicalUserPrincipalName case-insensitive Reviewed-by: Jakub Hrozek --- 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 1bc020db6..edbd7ad2e 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -1207,6 +1207,13 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, } } + if (strcmp(version, SYSDB_VERSION_0_15) == 0) { + ret = sysdb_upgrade_15(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