r10753: don't require every ldb module to implement both a search_bytree() and
authorAndrew Tridgell <tridge@samba.org>
Thu, 6 Oct 2005 05:24:46 +0000 (05:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:39:26 +0000 (13:39 -0500)
commit7e44f9153c5578624e2fca04cdc0a00af0fd9eb4
tree3963e603dd9722aa4c825afceaadd325a92f5bae
parente83635941c1829d8cb8c0784b7f7303c85654199
r10753: don't require every ldb module to implement both a search_bytree() and
a search() function, instead each module now only implements the
bytree method, and the expression based search is handled generically
by the modules code. This makes for more consistency and less code
duplication.

fixed the tdb backend to handle BASE searches much more
efficiently. They now always only lookup one record, regardless of the
search expression
18 files changed:
source/dsdb/samdb/ldb_modules/objectguid.c
source/dsdb/samdb/ldb_modules/samldb.c
source/lib/ldb/common/ldb.c
source/lib/ldb/common/ldb_modules.c
source/lib/ldb/common/ldb_parse.c
source/lib/ldb/include/ldb_private.h
source/lib/ldb/ldb_ildap/ldb_ildap.c
source/lib/ldb/ldb_ldap/ldb_ldap.c
source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
source/lib/ldb/ldb_tdb/ldb_index.c
source/lib/ldb/ldb_tdb/ldb_search.c
source/lib/ldb/ldb_tdb/ldb_tdb.c
source/lib/ldb/ldb_tdb/ldb_tdb.h
source/lib/ldb/modules/ldb_map.c
source/lib/ldb/modules/rdn_name.c
source/lib/ldb/modules/schema.c
source/lib/ldb/modules/skel.c
source/lib/ldb/modules/timestamps.c