samba error There are Currently No Logon Servers Available
Joining Windows 7 and Later / Windows Server 2008 and Later to a Samba NT4 Domain
During the join, you see the following error message:
The following error occurred attempting to join the domain "SA": The specified domain either does not exist or could not be contacted.
To enable the client to join the Samba NT4 domain:
- Save the following content to a plain text file named "samba_7_2008_fix.reg" using a text editor like "Notepad" or "Editor" (not Word/Wordpad/OpenOffice/LibreOffice/etc.):
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters] "DomainCompatibilityMode"=dword:00000001 "DNSNameResolutionRequired"=dword:00000000
- Log in using the local "Administrator" account.
- Double-click the file to import it to the Windows registry.
- Reboot to take the changes effect.
Windows 10: There Are Currently No Logon Servers Available to Service the Logon Request
After you have successfully joined Windows 10 to your Samba NT4 domain, you fail to log on and receive the error:
There are currently no logon servers available to service the logon request.
To fix the problem:
- Set in your primary domain controllers (PDC) "smb.conf" file:
server max protocol = NT1
- Note that this setting prevent all your clients to use a newer SMB protocol version than SMB1 when communicating with the PDC. Anyway, the Samba team recommends to use this workaround. Disabling newer SMB versions on the Windows 10 client instead prevent this machine communicating using newer SMB version with all Samba/Windows hosts.
- Restart Samba.