summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-27 11:44:05 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-27 11:44:05 +1100
commit6afac82e4b2e09262cf3151bc87a82c5abb39932 (patch)
treeb0123d4a9749590a5607dfbeee5b668ab93bda17 /source4/lib
parent8ae0abc65f9023d031c799516efe52cb36c612f5 (diff)
downloadsamba-6afac82e4b2e09262cf3151bc87a82c5abb39932.tar.gz
samba-6afac82e4b2e09262cf3151bc87a82c5abb39932.tar.bz2
samba-6afac82e4b2e09262cf3151bc87a82c5abb39932.zip
s4-ldb: '+' can also happen in base64 encoded index DNs
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index 639e8b2837..8beda35f67 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -767,6 +767,7 @@ static bool ldb_dn_explode(struct ldb_dn *dn)
continue;
case '=':
+ case '+':
/* to main compatibility with earlier
versions of ldb indexing, we have to
accept the base64 encoded binary index
@@ -779,7 +780,6 @@ static bool ldb_dn_explode(struct ldb_dn *dn)
}
/* fall through */
case '\n':
- case '+':
case '<':
case '>':
case '#':