[Samba] samba-tool dns zoneoptions --mark-old-records-static

Rowland Penny rpenny at samba.org
Wed Nov 8 16:38:11 UTC 2023


On Wed, 8 Nov 2023 17:25:00 +0100
Sam R via samba <samba at lists.samba.org> wrote:

> But this one return a lot of objects :
> sudo ldbsearch -H ldap://server1 -P
> -b"DC=example.com,CN=MicrosoftDNS,DC=ForestDnsZones,DC=exemple,DC=com"
> -s sub '(&(objectClass=dnsNode)(!(dNSTombstoned=TRUE)))' dnsRecord
> name

I take it that 'DC=exemple' is a typo and if so, then it might just pe
a permissions problem. In your original post, you do not seem to be
using any authentication, whereas in my ldbsearch command, you are
using '-P' which means use the computers kerberos key. Try your
original command but kinit as Administrator first, then run the command
as root and add '--use-kerberos=required'
 
> 
> @Wilfred : Sorry I fogot an argument, but if I ajust the command I
> have the same answer than with --mark-old-records-static=2021-03-30
> 

Also, please reply directly to other users posts, it just gets
confusing otherwise.

Rowland



More information about the samba mailing list