Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 01-03-2011, 20:49   #1
Chuckles
'09 sexual conquests: 4.5
 
Chuckles's Avatar
 
Join Date: Sep 2007
Posts: 1,075
Default Sysadmins help!

Consider this scenario

You have 2 file servers on 2 different sites.

Site A is the main production site and houses ServerA
Site B is a remote office and houses ServerB

The file store for images/PDF's etc is duplicated in the following locations

Site A - \\ServerA\Data\
Site B - \\ServerB\Data\

When users in each site work in Quark, inDesign etc their images are all linked in through their local server as the WAN between the 2 is ****.

That all works fine but you've got a script running in site A on ServerC that polls a folder for "Completed" documents and saves out an EPS.

For files on Site A, this is fine because it's only ever looking locally, but the links are hardcoded (and can't be changed) into the documents, so when Site B submits, they are being pulled in across the WAN and taking an age to build.

I thought a quick and simple fix would be to use an entry in the host file on Server C to map the netbios name of server B to the IP address of Server A.

It doesn't work because if you try and access the shares from Server C you get "Access Denied the Target name of the server is incorrect".

I assume this is because Server A knows not to listen clients trying to access shares under the netbios name of Server B

Is there a way to achieve this?

Thanks
__________________


Chuckles is offline   Reply With Quote
Old 01-03-2011, 21:07   #2
Garp
Preparing more tumbleweed
 
Garp's Avatar
 
Join Date: Jun 2006
Location: Hawaii
Posts: 6,038
Default

Geographic based DNS resolution?

You can do that with split horizons in BIND. Internally we'll take a different route to access certain servers, or temporarily redirect traffic to a different box to public based on the IP address of the workstation.
__________________
Mal: Define "interesting"?
Wash: "Oh, God, oh, God, we're all gonna die"?
Garp is offline   Reply With Quote
Old 01-03-2011, 21:12   #3
Mark
Screaming Orgasm
 
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
Default

This is Windows we're talking about.

However, the idea is reasonable - if you can make name resolution site-specific then give both A and B the same internal name.
Mark is offline   Reply With Quote
Old 01-03-2011, 21:17   #4
Chuckles
'09 sexual conquests: 4.5
 
Chuckles's Avatar
 
Join Date: Sep 2007
Posts: 1,075
Default

They are both on the same domain though, I don't think it will allow it?
__________________


Chuckles is offline   Reply With Quote
Old 01-03-2011, 21:25   #5
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

Quote:
Originally Posted by Chuckles View Post
I assume this is because Server A knows not to listen clients trying to access shares under the netbios name of Server
Correct.

On server B go to HKLM\System\CurrentControlSet\Services\LanmanServe r\Parameters and create a DWORD called DisableStrictNameChecking and give it a decimal value of 1. Reboot.
Burble is offline   Reply With Quote
Old 01-03-2011, 21:29   #6
Chuckles
'09 sexual conquests: 4.5
 
Chuckles's Avatar
 
Join Date: Sep 2007
Posts: 1,075
Default

Tried that this morning but without the reboot after a bit of googling (it's in production).

Thanks, hopefully that will fix
__________________


Chuckles is offline   Reply With Quote
Old 01-03-2011, 21:29   #7
Chuckles
'09 sexual conquests: 4.5
 
Chuckles's Avatar
 
Join Date: Sep 2007
Posts: 1,075
Default

Do you mean Server B or server A? Server A is the one that needs to accept shares on a different name.
__________________


Chuckles is offline   Reply With Quote
Old 01-03-2011, 21:31   #8
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

Sorry, yeah, server A. It won't take effect until after a reboot.
Burble is offline   Reply With Quote
Old 01-03-2011, 21:53   #9
Chuckles
'09 sexual conquests: 4.5
 
Chuckles's Avatar
 
Join Date: Sep 2007
Posts: 1,075
Default

Thanks but it didn't work (dialed in and did a sneaky reboot). Same as before "The Target account name is incorrect"
__________________


Chuckles is offline   Reply With Quote
Old 01-03-2011, 22:01   #10
Burble
Rocket Fuel
 
Burble's Avatar
 
Join Date: Jul 2006
Posts: 7,826
Default

Hmm, that isn't an error I've seen before now that I come to think of it, normally you'll get 'the network path was not found' wit this sort of thing.

I'll have another think.
Burble is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 17:54.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.