diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-14 07:48:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:10 -0500 |
commit | 42863aebb146a417af56876655ef08728a2d1769 (patch) | |
tree | c5e01b2f9a3d595426a7aa160fd96568c3979b35 /source4/lib/ldb/common | |
parent | 487d1afe3021844f96ed19861a03ea1958676f67 (diff) | |
download | samba-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/lib/ldb/common')
-rw-r--r-- | source4/lib/ldb/common/ldb_parse.c | 2 |
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?":":"", |