This is a discussion on checking error 952 within the Informix forums, part of the Database Server Software category; --> IDS 7.31 We occasionally get this error in online.log. 11:56:29 Password Validation for user [abc] failed! 11:56:29 Check for ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| IDS 7.31 We occasionally get this error in online.log. 11:56:29 Password Validation for user [abc] failed! 11:56:29 Check for password aging/account lock-out. 11:56:29 listener-thread: err = -952: oserr = 0: errstr = abc: User (abc)'s password is not correct for the database server. I would like to pro actively find this error before the user gets it. My only trouble is how to simulate this error condition via a cronjob script. The easiest way would be to log in as user abc and check for this error. However we do not know other users password. I am thinking of using a bogus hardcoded password in my script which is guaranteed to fail. My guess is that, even before it finds out the password is incorrect, if the account is locked out, the engine will return that error instead of invalid password error. That would suffice my requirement. Will my approach work or I am taking a wrong path. thanks |