ldb_tdb: Use the DN extracted from the DB to filter the message later
authorAndrew Bartlett <abartlet@samba.org>
Mon, 28 Aug 2017 03:37:28 +0000 (15:37 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:24 +0000 (21:20 +0200)
commitdfe85ecacab2ef6ce7efa3dd42734bdfafbd3096
tree99ab8a4b69dbe9cf980f312854788700e6bdbcfd
parent23e0a553d436015c11d20b502d47d89341a91bb1
ldb_tdb: Use the DN extracted from the DB to filter the message later

This should ensure that the upper or lower case the user chooses does not impact
on the filtering, at least for database that have checkBaseOnSearch set.

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