lib ldb: save a copy of the options on the context
commit3b52ca59a2d01da35539a2940fda5f4df15aeb21
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 25 Jun 2019 04:17:12 +0000 (25 16:17 +1200)
committerGary Lockyer <gary@samba.org>
Tue, 2 Jul 2019 02:23:09 +0000 (2 02:23 +0000)
tree9b46c38f39a053beeac654dca32b56e953d07226
parentb281fc624e53ead0ef614ea2fcff46bc9b599f92
lib ldb: save a copy of the options on the context

Copy the options supplied to to ldb_connect, and place them on the
ldb_context. This allows backend options i.e. lmbd map size to be passed
cleanly from the callers.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/common/ldb.c
lib/ldb/common/ldb_options.c
lib/ldb/include/ldb_private.h