summaryrefslogtreecommitdiff
path: root/libcli/samsync/samsync.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-15 10:00:24 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-15 10:00:24 -0700
commit62dd3aadd7ee9a8abbdd42caaa140105b1b1e8d9 (patch)
treefd76884c7bc49f5fc3af30bf3ff27e7dd2eca21a /libcli/samsync/samsync.h
parent209c278f1fdb315ebf6c83e164e518cc6737480e (diff)
downloadsamba-62dd3aadd7ee9a8abbdd42caaa140105b1b1e8d9.tar.gz
samba-62dd3aadd7ee9a8abbdd42caaa140105b1b1e8d9.tar.bz2
samba-62dd3aadd7ee9a8abbdd42caaa140105b1b1e8d9.zip
s4-ldb: cope better with corruption of tdb records
When doing an indexed search if we hit a corrupt record we abandoned the indexed search and did a full search. The problem was that we might have sent some records to the caller already, which means the caller ended up with duplicate records. Fix this by returning a search error if indexing returns an error and we have given any records to the caller.
Diffstat (limited to 'libcli/samsync/samsync.h')
0 files changed, 0 insertions, 0 deletions