summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.c
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-09-25 04:29:29 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-10-05 10:51:55 +0200
commit3882325ff60f89d0c312e9519bdfd1351978fd73 (patch)
tree1eb9a5b850ced04673a69c53f46d40d51384caa4 /src/db/sysdb.c
parent2d6836a90bd326391782a5753f70e8ba666b5def (diff)
downloadsssd-3882325ff60f89d0c312e9519bdfd1351978fd73.tar.gz
sssd-3882325ff60f89d0c312e9519bdfd1351978fd73.tar.xz
sssd-3882325ff60f89d0c312e9519bdfd1351978fd73.zip
SSH: Expire hosts in known_hosts
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 1e5e8ada1..25ff67506 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -1103,6 +1103,13 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
}
}
+ if (strcmp(version, SYSDB_VERSION_0_12) == 0) {
+ ret = sysdb_upgrade_12(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