summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-14 07:48:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:10 -0500
commit42863aebb146a417af56876655ef08728a2d1769 (patch)
treec5e01b2f9a3d595426a7aa160fd96568c3979b35 /source4
parent487d1afe3021844f96ed19861a03ea1958676f67 (diff)
downloadsamba-42863aebb146a417af56876655ef08728a2d1769.tar.gz
samba-42863aebb146a417af56876655ef08728a2d1769.tar.bz2
samba-42863aebb146a417af56876655ef08728a2d1769.zip
r7571: fixed the generation of the filter string for extended filters
(This used to be commit 348a86e64392245571204ac5004e73221ac441f5)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/common/ldb_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_parse.c b/source4/lib/ldb/common/ldb_parse.c
index c9a35cc255..501b82f635 100644
--- a/source4/lib/ldb/common/ldb_parse.c
+++ b/source4/lib/ldb/common/ldb_parse.c
@@ -483,7 +483,7 @@ char *ldb_filter_from_tree(void *mem_ctx, struct ldb_parse_tree *tree)
case LDB_OP_EXTENDED:
s = ldb_binary_encode(mem_ctx, tree->u.extended.value);
if (s == NULL) return NULL;
- ret = talloc_asprintf(mem_ctx, "(%s%s%s%s=%s)",
+ ret = talloc_asprintf(mem_ctx, "(%s%s%s%s:=%s)",
tree->u.extended.attr?tree->u.extended.attr:"",
tree->u.extended.dnAttributes?":dn":"",
tree->u.extended.rule_id?":":"",