Rejoin AD in TrueNAS Scale 23.10

After uploading the backup configuration, the connection to AD broke. In the Kerberos principal field, there is this error: Failed to validate bind credentials: Key table file '/etc/krb5.keytab' not found while getting initial credentials . There is no button to leave the domain. How can I recreate this keytab file?