ldb_tdb: provide ldb_key_dn() and ldb_key_msg()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 Aug 2017 02:31:18 +0000 (14:31 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:20 +0000 (21:20 +0200)
commit1b310ad99cf7aa4e9f598b755b342a64632cff63
treeabec47f0bdb96d8b0b8c8c99656176445b12a8a3
parentcd8ecb3332b1939a07c3455ec3a66ca3d23bb32d
ldb_tdb: provide ldb_key_dn() and ldb_key_msg()

This will in time allow us to generate a TDB key from
the msg, eg from an objectGUID.

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