r17542: In using ldb_map, I ran across some very odd behaviours when we search
commitc846d461fa1edb97219be87c4ba37e97e85dd488
authorAndrew Bartlett <abartlet@samba.org>
Mon, 14 Aug 2006 23:25:04 +0000 (14 23:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:15:35 +0000 (10 14:15 -0500)
tree5023dee7e5170071f44330778f7588c5760e7088
parent879ce60b7377f8b50eb6ead565fdab2a41772df8
r17542: In using ldb_map, I ran across some very odd behaviours when we search
for objectClass=xyz.  The code has been warning at me 'no
covert_operator set', and indeed this is the case.  (It then proceeds to
strip this as a search expression)

In this commit, I have implemented a convert_operator for objectClass,
by pretending it is a simple MAP_CONVERT operator for the search
requests.

I also have changed the logic for when we should bail out.  I can only
see reason to bail out on the search if we have both local and remote
trees.  How can a remote-only search be un-splittable?

Andrew Bartlett
(This used to be commit 656e58672c357121647a080400fcab4e5d30b46b)
source4/lib/ldb/modules/ldb_map.c
source4/lib/ldb/modules/ldb_map.h
source4/lib/ldb/modules/ldb_map_outbound.c
source4/lib/ldb/modules/ldb_map_private.h