ldb_tdb: Trust the BASE and ONELEVEL index
authorAndrew Bartlett <abartlet@samba.org>
Mon, 28 Aug 2017 21:59:54 +0000 (09:59 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:22 +0000 (21:20 +0200)
commit93b18984bd4603ad14a3ed71f4e10b43443803e0
treed8975e019de314d26c1abda1280d162c468242d5
parente4562e58f9018198600b5a303d7d832cf8a475f0
ldb_tdb: Trust the BASE and ONELEVEL index

This avoids re-checking the fetched DN against the scope

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/ldb_tdb/ldb_index.c