Net View command not working correctly.

RHSCleveland 1 Reputation point
2022-07-07T15:48:52.207+00:00

While troubleshooting a problem with a Linux system mapping to a SMB share I ran into the following situation I can not wrap my head around.
If you list the shares using IP it fails They are mounting the resource in Linux using IP
If you list the shares by fully qualified name it works. Due to an error in their DNS they are working on they can’t use the FDQDN.
If it was the other way around, I would be all over DNS, but not working by IP and it does by FQDN is a head scratcher. Any ideas?
All is done from an elevated command prompt.

Why does it fail with IP but not the FQDN ?

=================================================

ping [FQDN of server]
Pinging [FQDN of server] [10.100.78.70] with 32 bytes of data:
Reply from 10.100.78.70: bytes=32 time=6ms TTL=254

DNS Resolves to the correct IP address

=================================================

net view 10.100.78.70
System error 5 has occurred.

Access is denied.

Does not work using IP

=================================================

C:\Users\skyhook>net view[FQDN of server]
Shared resources at [FQDN of server]

Share name Type Used as Comment

-------------------------------------------------------------------------------

[Share 1] Disk
[Share 2] Disk
[Share 3] Disk
[Share 4] Disk
[Share 5] Disk
The command completed successfully.

Does work using FQDN

Windows for business Windows Server User experience Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.