Jump to content

Recommended Posts

Posted

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 then i get a response from . So it all looks OK. However it I try and access \\\ 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)

Posted

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 it gets a response saying "I'm called " and it falls over; the registry change mentioned fixes this.

  • Thanks 1
Posted (edited)

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.

 

Thanks.

 

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).

Edited by Stuart_C
Additional Info
Posted

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\Services\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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...