ldb_tdb: Do not query an index on the GUID_index_attribute
authorAndrew Bartlett <abartlet@samba.org>
Thu, 21 Sep 2017 10:21:36 +0000 (22:21 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:22 +0000 (21:20 +0200)
commitc4f35462e9f2c6b6d202aa5d9bf407b5fd9a0883
treeb324c1ff0fc063faf129ba538305e5d0e54cf4f8
parent6008382191f5115539906f264050b80b61b0693b
ldb_tdb: Do not query an index on the GUID_index_attribute

The objectGUID (or similar) is already the record key, there is
no need to index it to itself.

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