Jump to content

Active Directory - Closest DC?


Recommended Posts

In relation to this one : http://www.msfn.org/board/Networks-Internet-f21.html

Anyone know how to get "your local" DC out of Active Directory? From the CLI?

I've been asked now to get all :ph34r: Ninja and find the local DC for remote users - i.e. User from one state on the road in another state RAS to the Network connecting to HQ - must get Login script relating to their "Home" location.

I was never meant to script. :realmad:

Link to comment
Share on other sites


OK, this could be a rather complex question, but I'm not sure what you mean. Logon scripts are assigned to a user account and the DC you hit depends largely on costing as it's defined in the domain.

But I think you mean something else entirely. Do you mean you want to determine where a user is logging in from (in the office or on the road) and from that perform some tasks? If so is there a particular IP subnet(s) associated with the VPN/RAS connections or are the clients only using a dial-up connection?

Link to comment
Share on other sites

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...