From 77f445dbaecc8e792e1ad42e3742800ad141bee0 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 23 Sep 2012 18:37:04 +0200 Subject: AUTOFS: convert the existing autofs entries during a sysdb upgrade --- 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 3354cc43..e949cafd 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -1097,6 +1097,13 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, } } + if (strcmp(version, SYSDB_VERSION_0_11) == 0) { + ret = sysdb_upgrade_11(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