[PATCH] Modify SamDB default to NO_CREATE_DB prep for LMDB backend
abartlet at samba.org
Wed Feb 7 21:47:31 UTC 2018
On Thu, 2018-02-08 at 10:09 +1300, Gary Lockyer via samba-technical
> Patch modifying the default file creation behaviour of SamDB. This patch
> changes the default from create if missing to do not create. This stops
> TDB from overwriting any existing non TDB format file with a new TDB.
> This forms part of the work Gaming and I are doing implementing an lmdb
> backend for ldb based on the work done by Jakub Hrozek.
> The initial plan is to add lmdb support as an experimental feature, with
> the following limitations:
> - keys limited to 511 bytes
> - only the partition files will be in lmdb format.
> Review and possible push appreciated.
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
This helps complete the great work metze did to make ldbsearch not
create spurious databases.
I'll push it shortly.
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
More information about the samba-technical