Windows Thread, 2 Machines whih the same name???? in Technical; I recenlty removed a serverof servers from my domain. I renamed it first and it worked for a while then ...
21st June 2010, 02:26 PM #1
2 Machines whih the same name????
I recenlty removed a serverof servers from my domain. I renamed it first and it worked for a while then it died. I created an CName record with the old name and pointed it to one of my other servers so that there would be any machine/script/program that looked for the old server would find the files that they needed on another server.
If I ping <oldservername> then i get a response from <newservername>. So it all looks OK. However it I try and access \\<oldservername>\<share> it won't connect. When I ran the win7 diagnostics it told me that more than 1 device responded. When I delete my Cname and try to ping nothing happens. I also cannot connect via windows explorer (which i what I'd expect).
I also tried creating a false A record and that failed too. At each stage I flushed the DNS. So why won't this work?
(it's 2K8 R2 DC's but the new server I'm trying to connect to is 2K3)
21st June 2010, 04:54 PM #2
You need to disable "strictnamechecking" - Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name and look at the Server 2003 section.
Ping works fine - it checks DNS to get the IP address and that IP replies.
SMB doesn't work because it gets the IP OK but when it tries to connect to <oldname> it gets a response saying "I'm called <newname>" and it falls over; the registry change mentioned fixes this.
Thanks to srochford from:
Stuart_C (22nd June 2010)
22nd June 2010, 11:10 AM #3
You know that looks a bit familiar I may have done that 4 years ago on my old DC's. Amazing what you forget when you only do it once years ago.
I did however also realise they had not updated it for 2008 so I tried putting the files I need on my test server (which is 2K8) and setting up the alias and it worked fine. As I won't need the file after the summer they can sit there for a little while.
Edit: Sorry to be technically correct I did have to reghack the server to get it to work for XP clients. It works fine as standard for Win 7 Machines (I assume it's to do with SMB 1 vs SMB 2 but it does say that if you actually read the article).
Last edited by Stuart_C; 22nd June 2010 at 12:16 PM.
Reason: Additional Info
22nd June 2010, 09:29 PM #4
If you wish to access shares through the old server name you need to:
1- create a CNAME in dns, like you did,
2- give the server a second NetBIOS name by creating a REG_SZ value "OptionalNames" with the old server name
under [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\lanmanserver\parameters]
3- disable "strictnamechecking" like Steve Rochford described.
you may also need to register a Service Principal Name:
setspn -a host/aliasname targetserver
setspn -a host/aliasname.contoso.com targetserver
By OverWorked in forum General Chat
Last Post: 9th December 2009, 12:39 PM
By fil_b in forum Hardware
Last Post: 25th November 2009, 10:33 PM
By OllieC in forum Classified Adverts
Last Post: 31st July 2009, 10:52 AM
By witch in forum Hardware
Last Post: 14th June 2006, 12:25 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)