Monday, 2 March 2015

Creating an alias / cname for a SMB share with Server 2012

If you have ever attempted to create an alias for a SMB share via DNS (i.e. creating a A / CNAME record and pointing it to the server hosting the share) you might have been dissapointed when you get an access denied message appear. This is because SMB looks at the requesed hostname (i.e. your alias) and discovers that this does not match the server hosting the SMB share. So in order to work around this we can edit the registry on the server hosting the SMB share:
And create a new REG_DWORD called "DisableStrictNameChecking" and set the value to 1 (Decimal) and finally restart your machine. Upon restart you should now be able to access the SMB share via your alias!


Post a Comment