ldb_tdb: Optionally use a GUID index key in ltdb_dn_list_find_msg()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 15 Aug 2017 02:13:32 +0000 (14:13 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:21 +0000 (21:20 +0200)
commitb154acb0c7917aaef0f7bc750a4a0ce2690b1c44
tree717437e280a41663069b99d8af8679f8434eeb61
parent9d9ae1c0051d83bd3873d03642ad86002513e395
ldb_tdb: Optionally use a GUID index key in ltdb_dn_list_find_msg()

This function is used to find an existing index value and this
change allows it to find the value by GUID rather than by DN once
the GUID index is enabled.

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