Share via


Access Network Shared Folder Via CNAME Alias

Question

Saturday, April 30, 2016 4:08 PM

Hi,

currently we have a server named Shared01 which has some shared folders, and now, we are planning to deploy a new server with shared folders on it named shared02.

is it possible to just add Alias record on dns server like shared01 pointing to Shared02? I tried earlier, i can only access RDP, ping. but accessing \Shared01 has issue.

My DNS Server is Windows 2008 R2.

Any work around for this? 

Thank you!

All replies (2)

Sunday, May 1, 2016 8:59 PM âś…Answered

The fix is mentioned here: https://support.microsoft.com/en-gb/kb/281308

You need to apply the registry entry.

This posting is provided AS IS with no warranties or guarantees , and confers no rights.

Ahmed MALEK

My Website Link

My Linkedin Profile

My MVP Profile


Monday, May 2, 2016 7:23 AM

Hi Winston,

>>is it possible to just add Alias record on dns server like shared01 pointing to Shared02? I tried earlier, i can only access RDP, ping. but accessing \Shared01 has issue

If you have an existing Windows 2008 R2 or Windows 2012 R2 file server and would like to add an alternate name or alias for file share access, an SMB alias needs to be created.

Please check if the following steps is helpful:

1.Start Registry Editor (Regedt32.exe).

2.Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

3.On the Edit menu, click Add Value, and then add the following registry value:

   Value name: DisableStrictNameChecking
   Data type:  REG_DWORD
   Radix:      Decimal
   Value:      1

4.Quit Registry Editor.

5. Once the server reboots you need to add a Service Principal Name (SPN) as follows:

6. Open the command prompt.

7.setspn -a host/<NEW_CNAME_Server> <NetBIOS_Name_Server>

8.setspn -a host/<NEW_CNAME_FQDN_Server> <NetBIOS_Name_Server>

Note: Please backup your data before modifying the registry in case data lose.

If you have any results, welcome to share here.

Besides,

Andy_Pan