Am 18.03.20 um 22:26 schrieb Andrew Bartlett:>> Also "samba-tool domain tombstones expunge --tombstone-lifetime=0" >> does >> not delete the records with "dNSTombstoned: TRUE". Is this a >> different >> tombstone? > > That would be a different tombstone, yes.Can someone help me out with the ldap/ldb syntax to delte those by cron?> >> Until now what I do is delete the entries manually in ADSI. This >> works >> as expected. >> >> Any hint how to get this working? > > I'm not sure right now. > > Sorry!No problem. We all just try to help each other. Regards Christian -- Dr. Christian Naumer Unit Head Bioprocess Development B.R.A.I.N Aktiengesellschaft Darmstaedter Str. 34-36, D-64673 Zwingenberg e-mail cn at brain-biotech.com, homepage www.brain-biotech.com fon +49-6251-9331-30 / fax +49-6251-9331-11 Sitz der Gesellschaft: Zwingenberg/Bergstrasse Registergericht AG Darmstadt, HRB 24758 Vorstand: Adriaan Moelker (Vorstandsvorsitzender), Manfred Bender, Ludger Roedder Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen
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 ? Rowland
Am 20.03.20 um 09:29 schrieb Rowland penny via samba:> On 20/03/2020 06:20, Christian Naumer via samba wrote: > 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.Thanks.> > I have a script that you run on a Linux machine, perhaps it could be > adapted to run from cron ?If you could share this it would be great. Regards Christian -- Dr. Christian Naumer Unit Head Bioprocess Development B.R.A.I.N Aktiengesellschaft Darmstaedter Str. 34-36, D-64673 Zwingenberg e-mail cn at brain-biotech.com, homepage www.brain-biotech.com fon +49-6251-9331-30 / fax +49-6251-9331-11 Sitz der Gesellschaft: Zwingenberg/Bergstrasse Registergericht AG Darmstadt, HRB 24758 Vorstand: Adriaan Moelker (Vorstandsvorsitzender), Manfred Bender, Ludger Roedder Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen