ldb_tdb: Combine identical not GUID index and special DN cases
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 26 Feb 2018 21:01:38 +0000 (10:01 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 3 Mar 2018 04:20:35 +0000 (05:20 +0100)
commit9a4fd23407da70a7b279a24fca8a6f037e66a477
treebbc6f8ae33971ddccaaaf4205dccacc86a1d8ccc
parentee74d4bb8052bf22dcc3b30abb2493ac9a3237a4
ldb_tdb: Combine identical not GUID index and special DN cases

Fold together two identical cases to simplify the code.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_tdb/ldb_search.c