[Samba] 32 bits limit?

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jun 1 08:42:48 MDT 2015


On Mon, Jun 01, 2015 at 02:09:13PM +0200, mathias dufresne wrote:
> Hi all,
> 
> Still playing with a big database (120k users, 150k computers) I tried to
> split my users into a lot of OUs. This increased the database size and I
> was not able to finish to add users into the DB because database file has
> reached 4GB size which seems to be the limit.
> 
> First: am I right to say file
> /var/lib/samba/private/sam.ldb.d/DC=example,DC=com.ldb has a maximum size
> of 4GB?

Yes, you are right.

> Secondly: if I'm right about the size limit, why this size limit?

History, and so far nobody was really limited by this.

Before we expand tdb to 64 bits, you might want to talk to
Jakub Hrozek from RedHat and ask about his work on LMDB as a
ldb backend.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list