Once I received a request to fix an issue with MAC computers that could not access any shared folders on Windows file server. The Windows clients were OK. Well, the very first troubleshooting step is to log into the server. However, I could not do this. I got a message saying that domain controller was not available and my credentials could not be verified.
It looked like this server could not find a domain using the DNS servers in its IP configuration. But how to check and modify it?
Actually, it was pretty easy and took less time than writing this article.
- Connect remotely to the registry of the server in question
- Go to the HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces registry key
- Check out all interface keys listed there, paying attention to the IPAddress value. The one with the correct server IP address is the interface you are looking for
- Change NameServer value. You can use multiple DNS server IPs, separated by comma.
Done. In the worst case scenario the remote server restart may be needed
Shutdown -r -f -t 6 -m \\ServerName.Domain.com
In my situation the issue was fixed immediately, even without the server restart.