Troubleshooting Samba Domain Members
If you're joining a Member to your domain, various errors may appear. In the following we give an overview about errors that can come up and possible reasons/solutions to fix.
Active Directory Domain Members
No DNS domain configured for ... Unable to perform DNS Update.
# net ads join -U administrator Enter administrator's password: Using short domain name -- SAMDOM Joined 'M1' to dns domain 'samdom.example.com' No DNS domain configured for m1. Unable to perform DNS Update. DNS update failed: NT_STATUS_INVALID_PARAMETER
This error appears, because Samba can't find a DNS domain the host belongs to. Run the following command
# getent hosts M1 10.99.0.5 M1.samdom.example.com M1
The commands output must show the correct LAN interface IP (not 127.*.*.*!) and the hostname including the AD DNS zone. Additional alias names are optional. If you're getting a different or no output, fix it in your DNS or by adding/changing the /etc/hosts entry:
10.99.0.5 M1.samdom.example.com M1
DNS Update for ... failed: ERROR_DNS_GSS_ERROR
# 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_GSS_ERROR DNS update failed: NT_STATUS_UNSUCCESSFUL
The dynamic DNS update failed. See DDNS updates not working
NT4 Domain Members