[Samba] dNSTombstoned

Rowland penny rpenny at samba.org
Fri Mar 20 08:29:49 UTC 2020

On 20/03/2020 06:20, Christian Naumer via samba wrote:
> Can someone help me out with the ldap/ldb syntax to delte those by cron?

You need to use this filter: '(&(objectClass=dnsNode)(dNSTombstoned=TRUE))'

 From the output, extract the DN and then remove 'dn: ' from the start 
of that, pass the resultant DN to ldbdel.

I have a script that you run on a Linux machine, perhaps it could be 
adapted to run from cron ?


More information about the samba mailing list