If you have a Windows server 2008 with hostname (NetBIOS Name)Galileo (galileo.homeworks.it as FQDN) and that server have a shared resource called Saturnand instead to use the UNC path \ \Galileo\Saturn you would like to use the UNC path \ \Newton\Saturn, where Newton (newton.homeworks.it) is an alias DNS (CNAME) forGalileo, then you need to follow the following recipe:
- for clients with Windows 2008/Vista/7: creates the DNS alias (CANME) calledNewton (newton.homeworks.it) associated to the server Galielo (galileo.homeworks.it);
- for clients with Windows 2000/2003/XP:
- creates the DNS alias (CANME) called Newton (newton.homeworks.it) associated to the server Galielo (galileo.homeworks.it);
- connected to server Galileo with the credentials of a user with administrative rights on the server;
- start Registry Editor (Regedt32.exe);
- locate and click the following key in the registry: HKEY_LOCAL_MACHINE\System
\CurrentControlSet\Services\LanmanServer\Parameters - 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 - quit Registry Editor;
- restart the server Galileo.
Once you restarted the server Galileo, execute from the Command Prompt of Galileo the following commands: setspn -a host/newton galileo and setspn -a host/newton.homeworks.it galileo Or more generally: setspn -a host/<CNAME_Server> <NetBIOS_Name_Server> and setspn -a host/<CNAME_FQDN_Server> <NetBIOS_Name_Server>
Now to access the shared resource (SMB share) Saturn you can use or the UNC path \ \Galileo\Saturn, or the UNC path \ \Newton\Saturn.
This recipe is good for Windows 2000/2003/2003R2 (Windows 2000 should have installed Service Pack 4) and Windows 2008/2008R2. Note that the commandsetspn.exe is not pre-installed on Windows 2003R2, but is part of the Windows 2003 Support Tools.