I upgraded to 4.3.0 and I checked with System Diagnostic my DC Master server:
Critical: Check kerberos authenticated DNS update
Errors occured while running `kinit` or `nsupdate`.
`kinit` for principal dns-hostname with keytab /var/lib/samba/private/dns.keytab failed.
the error message does not fit to the article you’ve linked to. It’s a different issue.
Luckily, problems with the Kerberos principal dns-… can often be recovered. There are several ways to do this. Let’s try the easiest one first. Please run the following steps on your DC Master:
# Create a backup of the file we're about to modify:
cp /var/lib/samba/private/dns.keytab /var/lib/samba/private/dns.keytab.$(date '+%Y%m%d%H%M%S')
# Re-export the Kerberos principal from the KDC into a new keytab file:
samba-tool domain exportkeytab dns.keytab.new --principal DNS/$(hostname).$(ucr get domainname)
samba-tool domain exportkeytab dns.keytab.new --principal dns-$(hostname)@$(ucr get kerberos/realm)
# Copy the new keytab over the existing one:
cp dns.keytab.new /var/lib/samba/private/dns.keytab
well, that’s a completely different issue and not related to the original one. Please open a new topic for it; otherwise things can get confusing quickly for everyone involved and other readers, too. Before you do that, please read this article and try to solve that issue yourself:
@sgvfr Please open a new thread for this. Makes life easier on everyone. Please make sure to post the full error message
as there are several possible error messages regarding authenticated DNS update. They’re slightly different and have different root causes; therefore saying “I have the same problem” is often not exactly true. Thanks.