Created attachment 8373 [details]
Log file with error, and after it was fixed
After upgrading samba using git pull, ./configure, make, and make install, DNS stopped working. It required samba_upgradedns to fix. Attached is log file.
So, what seems to have happened here is that the dns-SERVER account exists in the sam.ldb, but not in secrets.ldb.
Failing is actually the right thing to do (it will fail at runtime otherwise), and samba_upgradedns is the right fix to restore the secrets.ldb entry.
I'm not sure what more we can do here, perhaps we can try and fix the existing install automatically, but it's going to be messy.
This is not a bug in the internal DNS server, as that doesn't technically require the DNS account at all. I'm a bit at a loss what to classify this as, but I at least updated the bug title.
I'd argue this is more of an AD-related issue than a DNS-related issue.