| Comments |
| 6/9/2010 2:30:08 PM |
Bob Denny |
|
| 6/9/2010 2:29:39 PM |
Bob Denny |
I also changed the HTTP 401 response message to indicate that either the login was invalid or the account may have been disabled. |
| 6/9/2010 2:17:38 PM |
Bob Denny |
Found it! In acp.exe's WebUser.Authenticate(), there is an optimization to prevent registry access by comparing against the username/password that is cached in ACP (m_sUsername and m_sPassword) and if the same, skip the rest of the auth check. |
| 6/9/2010 1:40:09 PM |
Bob Denny |
More info from Ron. Turns out that only when the account is disabled by aacountctrl.asp from a remote machine does the problem manifest itself!
I found a problem in aacountctrl.asp that prevents requests from completing normally... the test for user's UserData folder was trying to read a registry key and needs to try for a value under that key. Fixed in ACP-422 |
| 6/2/2010 5:31:29 PM |
Bob Denny |
I assumed that there was something wrong within ACP's disabling logic that let the AJAX requests through. Turns out it is working as advertised. So I'm going to need a click-by-click repro scenario from Ron. I left a message in the Comm Center thread for this. |
| 6/2/2010 5:09:27 PM |
Bob Denny |
Bad news (in the short term) - This will require that the ACP "WebUser" class (called User in ACP namespace) have a new property Enabled added! Otherwise there is no way to get to the state of the Enabled/Disabled property (added in 3.1.5 as non-visible). |
| 6/2/2010 4:54:54 PM |
Bob Denny |
Actually, this should be trapped in the web "start run" ASP scripts, which should return a popup/lightbox message "Your account is disabled, perhaps you have run out of time." or something. |