r4424: fixed a simple bug in the '|' handling in indexed ldb searches. I'm
authorAndrew Tridgell <tridge@samba.org>
Fri, 31 Dec 2004 02:18:14 +0000 (02:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:47 +0000 (13:07 -0500)
amazed we got along for so long with this bug!
(This used to be commit 937159cf2c6ae08808bd10946fcdbd8741e1a560)

source4/lib/ldb/ldb_tdb/ldb_index.c

index 01fa4be44bcdda305b349e17f150632f32e4a115..eaf699be62469e619340ae35892b29437497ede1 100644 (file)
@@ -385,6 +385,7 @@ static int ltdb_index_dn_or(struct ldb_module *module,
                                return -1;
                        }
                        dn_list_free(ldb, &list2);
+                       ret = 1;
                }
        }