summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-24 15:26:04 +0200
committerMichael Adam <obnox@samba.org>2010-06-25 17:35:41 +0200
commitf540833632ffe2c743e90ef9df1627e69b7a0c7b (patch)
treead50491446f89e3b79399d480bb86ac3066fcb5f /source3/include
parent175d9478fea24812046299be6a0224bdc699feb9 (diff)
downloadsamba-f540833632ffe2c743e90ef9df1627e69b7a0c7b.tar.gz
samba-f540833632ffe2c743e90ef9df1627e69b7a0c7b.tar.bz2
samba-f540833632ffe2c743e90ef9df1627e69b7a0c7b.zip
s3-registry: Added a db upgrade function to normalize the key delimiter.
This converts the key delimiter from a slash to a blackslash. We need to support keynames with a backslash. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/reg_db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/reg_db.h b/source3/include/reg_db.h
index 5cafa0a5fb..774093d2b3 100644
--- a/source3/include/reg_db.h
+++ b/source3/include/reg_db.h
@@ -23,6 +23,7 @@
#define REG_TDB_FLAGS TDB_SEQNUM
#define REGVER_V1 1 /* first db version with write support */
+#define REGVER_V2 2 /* version 2 with normalized keys */
#define REG_VALUE_PREFIX "SAMBA_REGVAL"
#define REG_SECDESC_PREFIX "SAMBA_SECDESC"