This is an out there question but I'm looking for the best way to do something.

I've been asked to come up with a method of turning off wireless cards
when a laptop is in the office and connected to the domain.

Turning on/off the NIC's is a straight forward process via a scipt so
that is not the question.

What I'm trying to do is find the best logic on WHEN to turn it
on/off.  I thought about grabbing the IP address and using that (if it
matches the corporate IP structure then turn off/otherwise leave
alone), I've thought about pinging a IP (if you can reach this
internal IP then turn off/otherwise leave on.  The real problem with
these is having to do the check every x minutes to account for people
who never turn their laptops off when they bring them into/out of the
office.

But, is there something in AD that is set when it is connected to a
domain that is not used when it is in cached mode?  Is AD "smart"
enough to know it's current connection status with a DC?  Is it
something that I can key against?

What about sites?  Is there a key I can use when it is assocated with a site?

Just looking for a more elegant solution here rather than using brute force.  

Cheers
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to