From 13e09c72cd41cd5cd44bd9e4e27df8e0e1d47379 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 30 Mar 2017 13:54:58 +1300 Subject: [PATCH] ldb: Version 1.1.30 * let ldbdump parse the -i option * don't allow the reveal_internals control for ldbedit * only allow --show-binary for ldbsearch * don't let ldbsearch create non-existing files * fix ldb_tdb search inconsistencies * add cmocka based tests * provide an interface for improved indexing for callers like Samba, which will allow much better performance. * Makes ldb access to tdb:// databases use a private event context rather than the global event context passed in by the caller. This is because running other operations while locks are held or a search is being conducted is not safe. Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher Reviewed-by: Garming Sam --- lib/ldb/ABI/ldb-1.1.29.sigs | 4 ---- lib/ldb/ABI/{ldb-1.1.29.sigs => ldb-1.1.30.sigs} | 0 lib/ldb/ABI/pyldb-util-1.1.30.sigs | 2 ++ lib/ldb/ABI/pyldb-util.py3-1.1.30.sigs | 2 ++ lib/ldb/wscript | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) copy lib/ldb/ABI/{ldb-1.1.29.sigs => ldb-1.1.30.sigs} (100%) create mode 100644 lib/ldb/ABI/pyldb-util-1.1.30.sigs create mode 100644 lib/ldb/ABI/pyldb-util.py3-1.1.30.sigs diff --git a/lib/ldb/ABI/ldb-1.1.29.sigs b/lib/ldb/ABI/ldb-1.1.29.sigs index ef9c53e1a4e..0ea968d0d69 100644 --- a/lib/ldb/ABI/ldb-1.1.29.sigs +++ b/lib/ldb/ABI/ldb-1.1.29.sigs @@ -94,9 +94,7 @@ ldb_get_opaque: void *(struct ldb_context *, const char *) ldb_get_root_basedn: struct ldb_dn *(struct ldb_context *) ldb_get_schema_basedn: struct ldb_dn *(struct ldb_context *) ldb_global_init: int (void) -ldb_handle_get_event_context: struct tevent_context *(struct ldb_handle *) ldb_handle_new: struct ldb_handle *(TALLOC_CTX *, struct ldb_context *) -ldb_handle_use_global_event_context: void (struct ldb_handle *) ldb_handler_copy: int (struct ldb_context *, void *, const struct ldb_val *, struct ldb_val *) ldb_handler_fold: int (struct ldb_context *, void *, const struct ldb_val *, struct ldb_val *) ldb_init: struct ldb_context *(TALLOC_CTX *, struct tevent_context *) @@ -227,7 +225,6 @@ ldb_schema_attribute_fill_with_syntax: int (struct ldb_context *, TALLOC_CTX *, ldb_schema_attribute_remove: void (struct ldb_context *, const char *) ldb_schema_attribute_remove_flagged: void (struct ldb_context *, unsigned int) ldb_schema_attribute_set_override_handler: void (struct ldb_context *, ldb_attribute_handler_override_fn_t, void *) -ldb_schema_set_override_indexlist: void (struct ldb_context *, bool) ldb_search: int (struct ldb_context *, TALLOC_CTX *, struct ldb_result **, struct ldb_dn *, enum ldb_scope, const char * const *, const char *, ...) ldb_search_default_callback: int (struct ldb_request *, struct ldb_reply *) ldb_sequence_number: int (struct ldb_context *, enum ldb_sequence_type, uint64_t *) @@ -240,7 +237,6 @@ ldb_set_event_context: void (struct ldb_context *, struct tevent_context *) ldb_set_flags: void (struct ldb_context *, unsigned int) ldb_set_modules_dir: void (struct ldb_context *, const char *) ldb_set_opaque: int (struct ldb_context *, const char *, void *) -ldb_set_require_private_event_context: void (struct ldb_context *) ldb_set_timeout: int (struct ldb_context *, struct ldb_request *, int) ldb_set_timeout_from_prev_req: int (struct ldb_context *, struct ldb_request *, struct ldb_request *) ldb_set_utf8_default: void (struct ldb_context *) diff --git a/lib/ldb/ABI/ldb-1.1.29.sigs b/lib/ldb/ABI/ldb-1.1.30.sigs similarity index 100% copy from lib/ldb/ABI/ldb-1.1.29.sigs copy to lib/ldb/ABI/ldb-1.1.30.sigs diff --git a/lib/ldb/ABI/pyldb-util-1.1.30.sigs b/lib/ldb/ABI/pyldb-util-1.1.30.sigs new file mode 100644 index 00000000000..74d6719d2bc --- /dev/null +++ b/lib/ldb/ABI/pyldb-util-1.1.30.sigs @@ -0,0 +1,2 @@ +pyldb_Dn_FromDn: PyObject *(struct ldb_dn *) +pyldb_Object_AsDn: bool (TALLOC_CTX *, PyObject *, struct ldb_context *, struct ldb_dn **) diff --git a/lib/ldb/ABI/pyldb-util.py3-1.1.30.sigs b/lib/ldb/ABI/pyldb-util.py3-1.1.30.sigs new file mode 100644 index 00000000000..74d6719d2bc --- /dev/null +++ b/lib/ldb/ABI/pyldb-util.py3-1.1.30.sigs @@ -0,0 +1,2 @@ +pyldb_Dn_FromDn: PyObject *(struct ldb_dn *) +pyldb_Object_AsDn: bool (TALLOC_CTX *, PyObject *, struct ldb_context *, struct ldb_dn **) diff --git a/lib/ldb/wscript b/lib/ldb/wscript index de22dc82284..635a787b5d6 100644 --- a/lib/ldb/wscript +++ b/lib/ldb/wscript @@ -1,7 +1,7 @@ #!/usr/bin/env python APPNAME = 'ldb' -VERSION = '1.1.29' +VERSION = '1.1.30' blddir = 'bin' -- 2.11.4.GIT