[SOLVED] LDB database size > 4GB
Published: Dec 5, 2018 - 5:24 PM
Good morning,
The file size /var/lib/samba/private/sam.ldb.d/DC%3DADS,DC%3DUNIV-LILLE,DC%3DFR.ldb Our domain ads.univ-lille.fr has already exceeded the 4G limit
We have 85,000 users, but we can restrict access by only allowing truly active users on this domain.
I only get this error when I try to delete a user:
We can no longer add objects (user, computer...)
Do you have a solution for reducing the database size? Even if it means deleting objects (users, for example)?
Thank you so much for your help
The file size /var/lib/samba/private/sam.ldb.d/DC%3DADS,DC%3DUNIV-LILLE,DC%3DFR.ldb Our domain ads.univ-lille.fr has already exceeded the 4G limit
Code: Select all
-rw------- 1 root root 4294967295 déc. 5 17:14 /var/lib/samba/private/sam.ldb.d/DC%3DADS,DC%3DUNIV-LILLE,DC%3DFR.ldbI only get this error when I try to delete a user:
Code: Select all
ltdb: tdb(/var/lib/samba/private/sam.ldb.d/DC%3DADS,DC%3DUNIV-LILLE,DC%3DFR.ldb): tdb_expand overflow detected current map_size[4294967295] size[9108]!
../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:4447: Failed to rename object from 'CN=test01,OU=IPTA,OU=Autres,OU=ULilleRessources,DC=ads,DC=univ-lille,DC=fr' to 'CN=test01\0ADEL:9ff44ef0-221e-4287-b591-dc330eb76d80,CN=Deleted Objects,DC=ads,DC=univ-lille,DC=fr' - ldb_wait from ../source4/dsdb/samdb/ldb_modules/util.c:499 with LDB_WAIT_ALL: Operations error (1)
ERROR(ldb): Failed to remove user "test01" - ldb_wait from ../source4/dsdb/samdb/ldb_modules/util.c:499 with LDB_WAIT_ALL: Operations error (1)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 455, in run
samdb.delete(user_dn)Do you have a solution for reducing the database size? Even if it means deleting objects (users, for example)?
Thank you so much for your help