summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_private.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-06-13 18:38:22 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-06-20 13:45:27 +0200
commit9ad2756fcf4df945f4cd09238e3f9fe707b0b70c (patch)
tree4ede67e4b542b3183f866334bfdf035cdb5e57fa /src/db/sysdb_private.h
parenta4caef931a245fb3c44b70ea65a58bd0c1ff8dc4 (diff)
downloadsssd-9ad2756fcf4df945f4cd09238e3f9fe707b0b70c.tar.gz
sssd-9ad2756fcf4df945f4cd09238e3f9fe707b0b70c.tar.xz
sssd-9ad2756fcf4df945f4cd09238e3f9fe707b0b70c.zip
sysdb: make canonicalUserPrincipalName case-insensitive
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/db/sysdb_private.h')
-rw-r--r--src/db/sysdb_private.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/db/sysdb_private.h b/src/db/sysdb_private.h
index 012a13b8a..8a5b8be8c 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_16 "0.16"
#define SYSDB_VERSION_0_15 "0.15"
#define SYSDB_VERSION_0_14 "0.14"
#define SYSDB_VERSION_0_13 "0.13"
@@ -39,11 +40,12 @@
#define SYSDB_VERSION_0_2 "0.2"
#define SYSDB_VERSION_0_1 "0.1"
-#define SYSDB_VERSION SYSDB_VERSION_0_15
+#define SYSDB_VERSION SYSDB_VERSION_0_16
#define SYSDB_BASE_LDIF \
"dn: @ATTRIBUTES\n" \
"userPrincipalName: CASE_INSENSITIVE\n" \
+ "canonicalUserPrincipalName: CASE_INSENSITIVE\n" \
"cn: CASE_INSENSITIVE\n" \
"dc: CASE_INSENSITIVE\n" \
"dn: CASE_INSENSITIVE\n" \
@@ -117,6 +119,7 @@ int sysdb_upgrade_11(struct sysdb_ctx *sysdb, struct sss_domain_info *domain,
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 sysdb_upgrade_15(struct sysdb_ctx *sysdb, const char **ver);
int add_string(struct ldb_message *msg, int flags,
const char *attr, const char *value);