1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/ldb
Andrew Bartlett fdc3212275 pyldb: Add ldb.disconnect() method to ensure DB handles are closed
This is vital in our backup code, which needs to actually close the
LMDB at the correct point.

The Python ldb object itself is left in more or less the same state as
one that has not connected to a server or database (it is a very
simple wrapper in itself), and can be reconnected using the .connect()
method.

Pair-programmed-with: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2024-04-10 05:13:32 +00:00
..
ABI pyldb: Include a reference to the Ldb in objects that use 2024-04-10 05:13:32 +00:00
common ldb_dn: make LDB_FREE, TALLOC_FREE 2024-03-20 23:42:34 +00:00
docs lib:ldb: Reformat shell scripts 2022-02-24 09:15:34 +00:00
examples
include ldb: Fix documentation typos 2024-02-16 02:41:36 +00:00
ldb_key_value ldb: Fix code spelling 2023-10-25 22:23:37 +00:00
ldb_ldap ldb_ldap: Fix a memleak 2020-07-02 10:38:34 +00:00
ldb_ldb ldb: Add MDB support to ldb:// 2018-05-23 02:27:12 +02:00
ldb_map ldb: Use correct member of union 2023-04-05 02:10:35 +00:00
ldb_mdb lib:ldb: Fix code spelling 2023-04-11 09:06:35 +00:00
ldb_sqlite3 ldb:ldb_sqlite3: Access correct member of union 2023-08-14 04:57:34 +00:00
ldb_tdb ldb: Fix code spelling 2023-10-25 22:23:37 +00:00
man lib:ldb: Fix code spelling 2023-04-11 09:06:35 +00:00
modules lib: Use talloc_asprintf_addbuf() in rdn_name_add() 2022-12-14 04:32:34 +00:00
nssldb lib:ldb:nssldb: Fix code spelling 2023-04-04 07:31:36 +00:00
tests ldb:pytests: test duplicate connections fail 2024-03-20 23:42:34 +00:00
tools ldb: Fix building with FORTIFY_SOURCE=2 2023-10-01 22:45:38 +00:00
web
_ldb_text.py ldb/tests/_ldb_text: remove unused imports 2018-10-25 21:45:55 +02:00
Doxyfile
examples.dox
ldb.pc.in lib/ldb: Adapt pkg-config files to being build from the main build. 2024-03-01 02:41:37 +00:00
mainpage.dox
pyldb_util.c pyldb: Include a reference to the Ldb in objects that use 2024-04-10 05:13:32 +00:00
pyldb-util.pc.in lib/ldb: Adapt pkg-config files to being build from the main build. 2024-03-01 02:41:37 +00:00
pyldb.c pyldb: Add ldb.disconnect() method to ensure DB handles are closed 2024-04-10 05:13:32 +00:00
pyldb.h pyldb: Include a reference to the Ldb in objects that use 2024-04-10 05:13:32 +00:00
README_gcov.txt
wscript build: Allow --with-ldbmodulesdir to override location of LDB modules 2024-03-01 02:41:37 +00:00