From 6afac82e4b2e09262cf3151bc87a82c5abb39932 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 27 Oct 2009 11:44:05 +1100 Subject: s4-ldb: '+' can also happen in base64 encoded index DNs --- source4/lib/ldb/common/ldb_dn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb') 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 '#': -- cgit