Troubleshooting Samba Domain Members

Revision as of 22:38, 9 October 2016 by Mmuehlfeld (talk | contribs) (Fixed link)

Introduction

If you're joining a Member to your domain, various errors may appear. The following gives an overview of errors that can come up and possible reasons/solutions to fix them.



Samba

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

Coming soon.



Windows

See http://social.technet.microsoft.com/wiki/contents/articles/1935.troubleshooting-domain-join-error-messages.aspx