Using the lmdb database backend
From SambaWiki
LMDB back end
Samba can use an LMDB back end instead of the default TDB back end. The LMDB back end permits database sizes greater than 4Gb.
Enabling LMDB
The LMDB backend can be enabled when provisioning or joining a domain using the --backend-store=mdb
option. The maximum size of the database files defaults to 8Gb, this can be changed with the --backend-store-size
![]() | This is a hard limit and Samba will fail if this limit is exceeded. There is currently no way to resize a Samba LMBD database. |