Why can I not view/use/map a drive from a machine using its short hostname if the short hostname is proven resolvable by DNS?
I have a machine (the client in this example) running Windows Server 2008r2 Standard.
I cannot view, use, or map network drives from my fileserver onto this machines, using the short hostname.
I can do all that, eg net view myfileserver.example.com
if I use the fully qualified domain name as shown, or if use the IP address.
I can ping the machine using the short name, and nslookup returns the proper IP address if I use the short name.
I could map a network drive on a machine in another domain using either the FQDN or the short name, eg: net use \\otherfileserver\IPC$ /u:"otherdomain\mylogin" "mypassword" /persistent:no
A real head scratcher (to me).
Note also that many other client machines are mapping network drives from the same fileserver.
EDIT: Ok, I awarded the bounty to Sum1sAdmin. I think he was on to something with the whole Browser thing. The problem is not DNS, no way no how it could be. Shortnames, longnames, skinny names, fat names, fully qualified names- they were all resolvable. It was NetBios (props to Noor Khaldi for being the first to bring it up, btw).
But it was Sum1sAdmin that pushed me to look at browsing in general. And because of that, I found that I had two Linux machines that were acting as the Masters for my domain. That was not good, because I have a mixed Linux/Windows environment and as it says in the smb.conf file: "Domain Master specifies Samba to be the Domain Master Browser...Don't use this if you already have a Windows NT domain controller doing this job..." which I do. In any event, I don't trust Samba to play well with Windows. If I can't call Microsoft Tech Support and say, "Yeah I have this browsing issue and by the way the master is a CentOS 5.3 machine running Samba," and they say, "Ok, cool!" then I'm not comfortable. I want my Windows-y things to live in Windows, and Linux be the client- only.
That said, I removed Samba's ability to be the domain master. This totally broke my browsing and made any net view
command return an error 53, "The network path was not found." on all hosts for a while. Then after a while I got a new error instead: system error 6118, "The list of servers for this workgroup is not currently available." Waiting further, I suddenly started to see some machines. Using Scottie's handy dandy script (http://scottiestech.info/2009/02/14/how-to-determine-the-master-browser-in-a-windows-workgroup/), I then started to see machines and new Windows masters.
All that said, the original machine is still broken. And now, some 10 minutes later, my domain has again broke with system error 6118. If you check my conversation with Sum1sAdmin, you will see that my domain is kind of screwy. This is good, because now I know that the issue was never just random. If it's broke, and I know where it's broke, I can fix it. And right now NetBios is all kinds of broke because it was never set up correctly in the first place, which started with me figuring out that Linux was involved. (Which actually may not have caused a problem but regardless, I want to remove that wildcard from the environment and let Windows be Windows).
Anyway, thanks for all the responses. I'm going to keep futzing with this system until it works.
As Noor Khaldi says it could be a problem related with NetBios or the TCP Helper of NetBios.
The destination computer and the client one are in the same local domain? It could be a problem related with the DNS suffix.
Run a
ipconfig /all
and look for theDNS Suffix Search List
at the top of the results and look for theConnection-specific DNS Suffix
of the network interfaces. The first one should have the suffix for the domain you're in, and the custom suffix of each NIC should be empty or with the same info as the global one.If you're in a hurry you can set this registry hack to allow the use of aliases when contacting with shares:
Edit the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
and add a valueDisableStrictNameChecking
of type DWORD and set it to 1.It all depends on the name resolution strategy you have in there, from your description, it seems that NetBIOS name resolution (which is used for short names) is failing to look up the IP address of the server you're looking for.
"Ping" is going to use the FQDN name so you're not supposed to use it while looking for short names, instead use "NBTStat" to test.
For further reading: https://blogs.msdn.microsoft.com/nitinsingh/2013/06/24/dilemma-of-name-resolution-process-with-ping-vs-nslookup/
I think this is pointing to your 'master computer browser' service on the emulated PDC - possibly it's stopped, you have proved that netbios over tcp is working, so we can rule that out - it's not DNS or domain suffix configuration on your interface, as 1) it works with FQDN 2) we don't want to use FQDN. So I would venture that 'Computer Browser Server' is where the issue is. It's possibly stopped as the result of an election process and is now running on different 'Master' a machine which thinks it's master and forces and election.
troubleshooting why the browser service was stopped is referenced in this common causes kb article https://support.microsoft.com/en-ie/kb/135404
what is this service?
If you have recently upgraded a straggling Windows server 2003 box then it's worth quoting: https://technet.microsoft.com/en-us/library/bb726965.aspx
Is the problem server on the EXACT same network as the other servers. For instance 192.168.1.x/24 and 192.168.2.x/24 are different networks. Without additional infrastructure namely a WINS server you cannot resolve short (Netbios) names across networks. In all of your examples you cite FQDN's as working. DNS is designed to span networks and will work as expected. Can you confirm that both of the servers in question are on the SAME IP network/subnet?