Bug 14376 - DNS Update failed: ERROR_DNS_UPDATE_FAILED after net ads join
Summary: DNS Update failed: ERROR_DNS_UPDATE_FAILED after net ads join
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.10.14
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-11 08:16 UTC by samba
Modified: 2020-05-11 08:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description samba 2020-05-11 08:16:24 UTC
Troubleshouting as described exactly in your Wiki https://wiki.samba.org/index.php/Troubleshooting_Samba_Domain_Members:

When joining a host to an Active Directory (AD), the net fails to update the DNS: 
# net ads join -U administrator
Enter administrator's password:
Using short domain name -- SAMDOM
Joined 'M1' to dns domain 'samdom.example.com'
DNS Update for m1.samdom.example.com failed: ERROR_DNS_UPDATE_FAILED
DNS update failed: NT_STATUS_UNSUCCESSFUL
Note, that the join was successful and only the DNS updated failed. 


Bug: the domain "m1.samdom.example.com" was defined as an "alias" in the DNS server.

If domain is defined as "host" in the DNS server, command executed as exspected.
Comment 1 samba 2020-05-11 08:23:25 UTC
FreeBSD 12.1-RELEASE-p3 #0 r360028M: Fri Apr 17 01:52:46 CEST 2020