summaryrefslogtreecommitdiffstats
path: root/src/confdb/confdb.h
diff options
context:
space:
mode:
authorMichal Židek <mzidek@redhat.com>2015-07-07 15:15:32 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-09-03 09:32:15 +0200
commit175613be0cfb0890174d12d941e634d833b63dd9 (patch)
treef60beceb3b170ceca78cbb8cf7d668d3ce9aec0f /src/confdb/confdb.h
parent3954cd07dae78bf79136f0854472757d1ed26897 (diff)
downloadsssd-175613be0cfb0890174d12d941e634d833b63dd9.tar.gz
sssd-175613be0cfb0890174d12d941e634d833b63dd9.tar.xz
sssd-175613be0cfb0890174d12d941e634d833b63dd9.zip
CONFDB: Assume config file version 2 if missing
Default to config file version 2 if the version is not specified explicitly. Ticket: https://fedorahosted.org/sssd/ticket/2688 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/confdb/confdb.h')
-rw-r--r--src/confdb/confdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index 9aa264899..427c309a2 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -38,6 +38,7 @@
* @{
*/
+#define CONFDB_DEFAULT_CFG_FILE_VER 2
#define CONFDB_FILE "config.ldb"
#define CONFDB_DEFAULT_CONFIG_FILE SSSD_CONF_DIR"/sssd.conf"
#define SSSD_MIN_ID 1