Login | |
|
 |
RE: Windows Authentication - 11/14/2008 3:05:24 AM
|
|
 |
|
| |
ebgreen
Posts: 5251
Score: 31
Joined: 7/12/2005
Status: offline
|
I don't think it can be done in straight VBScript. VBScript doesn't inherently have a secure way to handle passwords they are just plain text within the code. This is a huge security hole. ASP gives you this ability but it sounds like that isn't an option right now for you.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Windows Authentication - 11/14/2008 3:17:24 AM
|
|
 |
|
| |
TNO
Posts: 1402
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
Disclaimer: I'm a webdev and not a sysadmin but perhaps there is a pure vbs equivalent to the methods used here: http://www.eggheadcafe.com/articles/20010126.asp attempt to change the password to itself and see if it throws an error?
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Windows Authentication - 11/14/2008 3:50:04 AM
|
|
 |
|
| |
ebgreen
Posts: 5251
Score: 31
Joined: 7/12/2005
Status: offline
|
It is clever, but it won't work in most enterprises where passwords are set to expire since you typically can't change your password to anything that it has been for x number of iterations in the past. So trying to change it to itself would throw an error anyway. Although now that I think about it, it might be a different error.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|