migrate-samldb-from-tdb-to-mdb

Arvid Requate requate at univention.de
Mon Jun 14 20:04:13 UTC 2021


Hi,

I've written a small script to convert the sam.ldb database backend of a 
Samba/AD DC from TDB to LMDB. It just uses python-tdb and python-lmdb and 
treats the key/value content uninterpreted as blobs. Maybe it's a useful 
addition to the repository section example/scripts or I could turn it into a  
subcommand of samba-tool, if anybody thinks that's a good idea.

Cheers,
Arvid

-- 
Arvid Requate
Open Source Software Engineer

Univention GmbH
be open.
Mary-Somerville-Str.1
28359 Bremen
Tel. : +49 421 22232-52
Fax : +49 421 22232-99

Geschäftsführer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876
-------------- next part --------------
A non-text attachment was scrubbed...
Name: migrate-samldb-from-tdb-to-mdb
Type: text/x-python
Size: 5263 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20210614/cd0d908f/migrate-samldb-from-tdb-to-mdb.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20210614/cd0d908f/signature.sig>


More information about the samba-technical mailing list