Hi! Your’re missing at least a couple of underscores ( _
), but that might be lost through copy&paste and formatting on the forum (best practice is to set such snippets as preformatted text).
For Samba/AD to work properly, you need all the DNS records that check_essential_samba4_dns_records.sh
checks for. They are listed in your output here: Problem to execute Logon or logout script