Solved

Same User, Different homefolder depending on site

Posted on 2008-06-20
3
240 Views
Last Modified: 2013-12-02
I'm setting up 2 sites, same AD but diffrent file-server.
How can I give a user 2 homefolders. One for when he logs in at site 1 and one at site 2?
0
Comment
Question by:OddyIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Expert Comment

by:YourReference
ID: 21835200
The best solution would be based on a Login Script.

In order to provide you with more details you have to let me know the following.

1. Is there a different File and Print server at each site?
2. Do you have an each site defined in Active Directory Sites and Services?
3. Do you have any OU for each site?

Basically you would create a login script that would detect either:

Enviornmental Variable
IP Address
Submet
other

then map a H: drive via NET USE to the location
0
 

Author Comment

by:OddyIT
ID: 21835272
Details:
1. Yes, there is a different file-server at each location. The print-server is also different. But to make it more difficult, there are canon copy-machine at each location. Site B has to be able to print to a big copier (copy-center for the school) at site A.
2. Each site has been defined.
3. AD is the same. I have a few OU's (Student, Teachers, Staff, ComputerPerRoom, Groups)

I have succeded in using net use. But how do I detect the diffrent sites?
0
 
LVL 7

Accepted Solution

by:
fhmc earned 500 total points
ID: 21835498
I'm confident there's a better way than the following, but this is the first approach that came to mind:

1.   say, site 1 is on the 192.168.1.0/24 network and the gateway is 192.168.1.1, also, say, site 2 is on the 192.168.2.0/24 network and the default gateways is 192.168.2.1...

that said, the following approach may prove usefull.

findnet.bat
:: am I in 192.168.1.1
route print| find "192.168.1.1"
:: if so, set localnet to 1.1
if not errorlevel 1 set localnet = 1.1
:: am I in 192.168.2.1
route print| find "192.168.2.1"
:: if so, set localnet to 2.1
if not errorlevel 1 set localnet = 2.1      
:end
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question