ldb_tdb: Add GUID_index_attribute to ltdb_private
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 Aug 2017 05:13:48 +0000 (17:13 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:20 +0000 (21:20 +0200)
This will be used to determine if we are in GUID index mode

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

index 59a04c4954f25965381f3c113f7d75e0b25e5712..63620a99ad6da5ecdf0da5c0edb537b5c70f8bb3 100644 (file)
@@ -20,6 +20,7 @@ struct ltdb_private {
                struct ldb_message *indexlist;
                bool one_level_indexes;
                bool attribute_indexes;
+               const char *GUID_index_attribute;
        } *cache;
 
        int in_transaction;