Map a script based on IP - VB or KIX
Posted on 2006-04-25
My company has recently adopted the practice of opening branch locations, and our users now rotate amongst the various offices. As such, we need to provide these users the ability to have certain printers available depending on which office they happen to log into.
One way I was thinking was to do this based on IP, as each office has its own subnet (10.0.0.0, 10.0.1.0, etc) with VPNs between each and the main office, but the problem this presents is that the main office has two levels, and we need to be able to distinguish between those two levels.
We currently do that by putting the users in those different levels or locations in different AD Orignazational Units, then map drives and printers according to which OU they are in. This is okay if the users always log into the same locations - but this is not the case.
If I were to put each PC in an OU (can i do this?), can I then check for the OU that the user is logging into then map printers accordingly? Or, do you have a better approach?
We already use VB for logon scripts, but we are in the process of redoing these in KIX, so either method would be graciously accepted.