diff options
author | Jan Cholasta <jcholast@redhat.com> | 2012-09-25 04:29:29 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-10-05 10:51:55 +0200 |
commit | 3882325ff60f89d0c312e9519bdfd1351978fd73 (patch) | |
tree | 1eb9a5b850ced04673a69c53f46d40d51384caa4 /src/db/sysdb.c | |
parent | 2d6836a90bd326391782a5753f70e8ba666b5def (diff) | |
download | sssd-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.c | 7 |
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 |