summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_private.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-08 22:33:48 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit73120327cc136229d56d08f7f8c5e8df4129c1e3 (patch)
treecdbf9a8f217f8caf735f9d06929ce0ba1b68b91d /src/db/sysdb_private.h
parent62dbfd0596aa15ddf0d9384f426814edcf627331 (diff)
downloadsssd-73120327cc136229d56d08f7f8c5e8df4129c1e3.tar.gz
sssd-73120327cc136229d56d08f7f8c5e8df4129c1e3.tar.xz
sssd-73120327cc136229d56d08f7f8c5e8df4129c1e3.zip
Upgrade DB and move ranges into top level object
Diffstat (limited to 'src/db/sysdb_private.h')
-rw-r--r--src/db/sysdb_private.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/db/sysdb_private.h b/src/db/sysdb_private.h
index 4763f03f4..1e3617789 100644
--- a/src/db/sysdb_private.h
+++ b/src/db/sysdb_private.h
@@ -23,6 +23,7 @@
#ifndef __INT_SYS_DB_H__
#define __INT_SYS_DB_H__
+#define SYSDB_VERSION_0_15 "0.15"
#define SYSDB_VERSION_0_14 "0.14"
#define SYSDB_VERSION_0_13 "0.13"
#define SYSDB_VERSION_0_12 "0.12"
@@ -38,7 +39,7 @@
#define SYSDB_VERSION_0_2 "0.2"
#define SYSDB_VERSION_0_1 "0.1"
-#define SYSDB_VERSION SYSDB_VERSION_0_14
+#define SYSDB_VERSION SYSDB_VERSION_0_15
#define SYSDB_BASE_LDIF \
"dn: @ATTRIBUTES\n" \
@@ -74,6 +75,9 @@
"cn: sysdb\n" \
"version: " SYSDB_VERSION "\n" \
"description: base object\n" \
+ "\n" \
+ "dn: cn=ranges,cn=sysdb\n" \
+ "cn: ranges\n" \
"\n"
#include "db/sysdb.h"
@@ -113,6 +117,7 @@ int sysdb_upgrade_10(struct sysdb_ctx *sysdb, const char **ver);
int sysdb_upgrade_11(struct sysdb_ctx *sysdb, const char **ver);
int sysdb_upgrade_12(struct sysdb_ctx *sysdb, const char **ver);
int sysdb_upgrade_13(struct sysdb_ctx *sysdb, const char **ver);
+int sysdb_upgrade_14(struct sysdb_ctx *sysdb, const char **ver);
int add_string(struct ldb_message *msg, int flags,
const char *attr, const char *value);