Share via

Authenticating to Shared folder fails using Private DNS Zone FQDN of server

Wes Baldwin 21 Reputation points
2022-09-14T16:36:00.003+00:00

I need help understanding why accessing a shared folder using the administrator credentials fails when using the FQDN based on the Private DNS Zone domain.

Here is what happens:

  1. I logon to CFS1 using the administrator account.
  2. I open file explorer
  3. I type \cfs1.sds.com\sharename where sharename is any share on CFS1 including the administrative shares such as C$, and hit enter.
  4. A Windows Security form opens prompting "Enter network credentials". It also shows the CFS1\administrator with a text box to type the password.
  5. I type in the correct password and hit enter.
  6. The Windows Security form opens again and at the bottom it says "The specified network password is not correct."

If I do the same process as above but use \cfs1\sharename where sharename is any share on CFS1 including the administrative shares such as C$, it connects just fine. In this case there is no prompting for credentials.

I don't need any explanation as to why \CFS1\sharename works, but rather an explanation as to why \CFS1.sds.com\sharename fails to do so.

Additionally, the hosts file contains nothing for CFS1 or CFS1.sds.com. Also, sds.com is the Private DNS Zone object I created.

Thanks in advance
wb

Azure DNS
Azure DNS

An Azure service that enables hosting Domain Name System (DNS) domains in Azure.

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.


Answer accepted by question author

KapilAnanth 49,876 Reputation points Moderator
2022-09-15T14:06:11.29+00:00

Hi @Wes Baldwin ,

Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you are not able to access your fileshare via the entire FQDN, however, the same works with VM's Host name.

I take it that you are trying to access the fileshare from the same VM (CFS1).

  • I was able to reproduce this at my end.
  • From my initial analysis, it appears that this is the behavior of the OS.
  • The OS will only have knowledge of host name as "CFS1" and not as "CFS1.sds.com"
  • *.sds.com is configured on the platform level and OS will not have this visibility.
  • This can be demonstrated using the below e.g.,
  • 241544-image.png
  • While the former uses a IPV6 and the latter is using a IPV4.
  • The share will be expecting a connection with host CFS1 name and not with the Platform registered "CFS1.sds.com", and hence the connection is not working.
  • This again makes sense, as if we are to add a Host file entry such as "CFS1.randomdomain.com" pointing to this VM's IP and try to access the share via "\CFS1.randomdomain.com\sharename" would again fail.

I hope this adds additional clarification

Cheers,
Kapil

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

Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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