[Samba] Samba 4 - Cleanup CN=Deleted Objects, DC=DomainDnsZones, DC=domain, DC=local

Achim Gottinger achim at ag-web.biz
Fri Jul 4 00:48:56 MDT 2014


Am 03.07.2014 20:31, schrieb Łukasz Tomaszewski:
> Hi
> I found your post on the Samba mailing lists.
> https://lists.samba.org/archive/samba/2013-July/174680.html
>
> I have a similar problem.
> My db / usr / local / samba / private / sam.ldb.d / DC = 
> DomainDnsZones, DC = DOMAIN, DC = LOCAL.ldb consumes now ~2,5GB
>
> After that I noticed that there are errors
>
> [2014/07/03 20:19:54.032976,  1] 
> ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
>   ldb: Invalid data for index 
>  DN=DC=PC1\0ADEL:AEE9EB1D-DC14-403F-B565-61CB9E5A0FBF,CN=DELETED 
> OBJECTS,DC=DOMAINDNSZONES,DC=DOMAIN,DC=LOCAL
>
> [2014/07/03 20:19:54.880979,  1] 
> ../source4/dsdb/kcc/kcc_deleted.c:113(kccsrv_check_deleted)
> ../source4/dsdb/kcc/kcc_deleted.c:113: Failed to search for deleted 
> objects in CN=Deleted Objects,DC=DomainDnsZones,DC=domain,DC=local
>
>
> Is the cleaning records samba working properly?
> How to use ldbmodify to remove old entries?
> Do you have solved the problem of removing old entries in the DNS so 
> that the problem does not come back?
>
> best regards
>
> Lukas T.
>
Hi Lukas,

I ended up reducing the tombstone lifetime from 6 month down to one, 
that purged alot of old objects. Also there have been fixes to the dns 
record handling, so it does no longer generate that many deleted objects.

achim~


More information about the samba mailing list