|
dstein -> RE: Force Logoff Policy (11/20/2004 9:33:57 PM)
|
There are problems with my attempted " solution" . One is that the script I use is launched at login, and runs under the user context. That means a savvy user can kill it in Task Mgr. ALso, I find that reading the LDAP property " loginHours" and decoding the binary values into days and times produces some unpredictable results. I' ve found it more reliable (but more clunky) to shell out and dump the " NET USER username /DOMAIN" result to a text file, parse it and get the login days/times from that. It' s not *that* slow actually, but I hate doing things that way when it should be built-in already.
|
|
|
|