Mapping drives across domains/forests

Hi,

I am testing a setup I need to use at one of my sites.

I have two forests, one with an outgoing trust to the other. Users from the trusted forest need to be able to login to PC's in the trusting forest and be presented with their normal mapped network drives etc.

In AD Users and Computers I had the user account configured to map the home drive to \\servername\home\username.

Of course this didn't work when a user logged into the other forest because \\servername is not a FQDN and so could not be resolved. I got round this by entering \\servername.domain.com\home\username in the home drive properties and this works OK since the full DNS name of the server is now present.

Is this the "right" way of doing it and normal practice for this kind of scenario, or is there a better way of sorting this out, I've thought of perhaps adding an extra DNS suffix in the client DNS properties but this can't be assigned by DHCP afaik, so how do people work round this?
richardwhitAsked:
Who is Participating?
 
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

We use a mixture of the two, if there's a great deal of integration between the two networks then Suffixes are added to the clients. If it's only for a user or two then FQDN's are used instead.

> I've thought of perhaps adding an extra DNS suffix in the client DNS properties but this can't be assigned by
> DHCP afaik, so how do people work round this?

Scripts or Group Policy.

Group Policy only works with Windows XP or Windows 2003 Server so scripts are really common. It's set in Computer Configuration, Administrative Templates, Network and DNS Client. The policy is called "DNS Suffix Search List".

If you prefer the scripting approach this bit of VbScript demonstrates how to set the value using WMI:

Const SEARCH_LIST = "domain1.com,domain2.com,domain3.com"
Const REG_HKLM = &H80000002

Set objShell = CreateObject("WScript.Shell")
Set objRegistry = GetObject("winmgmts:\\.\root\default:StdRegProv")

strKeyPath = "System\CurrentControlSet\Services\TCPIP\Parameters"
objRegistry.SetStringValue REG_HKLM, strKeyPath, "SearchList", SEARCH_LIST

objShell.Run "ipconfig /renew", 7, True

HTH

Chris
0
 
Jay_Jay70Commented:
Hi richardwhit,

what happens if you load a secondary zone from the DNS server in the remote domain
0
 
richardwhitAuthor Commented:
I'm using a stub zone at the moment. I'm not sure that loading a seconday zone would make any difference -  the client is not querying for a name in the other domain unless the correct suffix is specified. I'll give it a go anyway though.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
Jay_Jay70Commented:
fair call - was just a quick thought
0
 
richardwhitAuthor Commented:
Excellent answer, thanks for your help!
0
 
Chris DentPowerShell DeveloperCommented:

Pleasure :)

Chris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.