fixed the partition module and the GC handling
authorAndrew Tridgell <tridge@samba.org>
Fri, 3 Oct 2008 19:21:53 +0000 (12:21 -0700)
committerAndrew Tridgell <tridge@samba.org>
Fri, 3 Oct 2008 19:21:53 +0000 (12:21 -0700)
commit163fa1d25ae2104b634ba37ed97d51fe033cbc1f
treedb0835536ace7bfbe290ccb8afed278e51491720
parentc5fdb82d3280a0c94c9b15be0090c08675338159
fixed the partition module and the GC handling

 - when multiple partitions are searched, consider the search a
   success if any of the partitions return success

 - only search the right subset of partitions, looking at the scope
   and basedn of the search

This fixes several errors with GC searches
source4/dsdb/samdb/ldb_modules/partition.c