[Samba] Increasing database size limit

mathias dufresne infractory at gmail.com
Thu Jun 11 03:03:08 MDT 2015


Hi all,

Would it be really complex to add some code to have more database files?

The database I have to fill is too large to be hosted into
$samba_db/private/DC=DOMAIN,DC=EXAMPLE,DC=COM which is limited to 4GB.

The idea would be to create files to host OUs created a domain's root level.
For example an OU to host groups: OU=Groups,DC=DOMAIN,DC=EXAMPLE,DC=COM
would be hosted in file named:
$samba_db/private/OU=Groups,DC=DOMAIN,DC=EXAMPLE,DC=COM

As there is already something to have separated DB files (CN=CONFIGURATION,
DC=DOMAINDNSZONES...) perhaps this change would not be to complex...

Having that we would be able to create files to host users in their own
file, computers in some other (if displaced from builtin "computers" OU)
and so on.

Best regards,

mathias


More information about the samba-technical mailing list