Error code 01/00000003 for locked account not appear on client.

MohamadF2

Bit poster
Hi everyone,

I recently successfully upgraded my Parallels RAS environment from v17 to v19.

After the upgrade, I noticed an issue with the RAS Client error messages. When a user attempts to log in with an incorrect password multiple times and their Active Directory account becomes locked, the RAS Client displays:

Error Code: 01/00000001

However, in previous versions, I expected to see:

Error Code: 01/00000003 (account locked)

Because of this, users cannot easily determine whether they entered the wrong password or if their account is actually locked.

Environment:
  • Parallels RAS v19
  • Active Directory authentication
  • User account lockout policy configured in AD
Has anyone experienced this behavior after upgrading to v19? Is this a known issue, configuration change, or bug? Any guidance or recommendations would be greatly appreciated.

Thank you in advance for your assistance.
 
Hello !

This looks worth checking at the authentication-result mapping level rather than at the AD lockout policy itself.
First, I would reproduce the issue and confirm that the account is actually locked in AD (LockedOut=True) and that Event ID 4740 is generated on the domain controller.
Then, once the account is already locked, completely reconnect the Parallels Client and attempt authentication again. At the same time, check the RAS Connection Broker logs under C:\ProgramData\Parallels\RASLogs.
Windows normally distinguishes a generic logon failure from an account lockout (STATUS_ACCOUNT_LOCKED_OUT / 0xC0000234). If the Broker correctly receives/logs the locked-account condition but the Client still reports 01/00000001, I would suspect a RAS error-code mapping/regression rather than an AD configuration issue.
I would also test the same RAS 19 farm using a current Parallels Client to determine whether the behaviour is client-side or broker-side.
Could you provide the exact RAS 19 build and Parallels Client version?

Thank you !

Thierry
 
Hi
Hello !

This looks worth checking at the authentication-result mapping level rather than at the AD lockout policy itself.
First, I would reproduce the issue and confirm that the account is actually locked in AD (LockedOut=True) and that Event ID 4740 is generated on the domain controller.
Then, once the account is already locked, completely reconnect the Parallels Client and attempt authentication again. At the same time, check the RAS Connection Broker logs under C:\ProgramData\Parallels\RASLogs.
Windows normally distinguishes a generic logon failure from an account lockout (STATUS_ACCOUNT_LOCKED_OUT / 0xC0000234). If the Broker correctly receives/logs the locked-account condition but the Client still reports 01/00000001, I would suspect a RAS error-code mapping/regression rather than an AD configuration issue.
I would also test the same RAS 19 farm using a current Parallels Client to determine whether the behaviour is client-side or broker-side.
Could you provide the exact RAS 19 build and Parallels Client version?

Thank you !

Thierry

Hi Thierry,

Thank you for your response.

RAS Client version 17.1.21868 & 19.4.25221. Same issue occured after I upgrade RAS server to v19 .

Error log on RAS Client :

Using RAS server v19

Attempting login using wrong password
[E 0E/0000000B/T6480/P9734/S0001] 21-09-26 21:38:01 - Could not sign in using Windows Authentication.The user name or password is incorrect.Please verify your credentials and try again. If the problem continues, contact your system administrator or technical support.
[E 0E/0000000B/T6480/P9734/S0001] 21-09-26 21:38:06 - Could not sign in using Windows Authentication.The user name or password is incorrect.Please verify your credentials and try again. If the problem continues, contact your system administrator or technical support.
[E 0E/0000000B/T6480/P9734/S0001] 21-09-26 21:38:10 - Could not sign in using Windows Authentication.The user name or password is incorrect.Please verify your credentials and try again. If the problem continues, contact your system administrator or technical support.
[E 0E/0000000B/T6480/P9734/S0001] 21-09-26 21:38:12 - Could not sign in using Windows Authentication.The user name or password is incorrect.Please verify your credentials and try again. If the problem continues, contact your system administrator or technical support.
[E 0E/0000000B/T6480/P9734/S0001] 21-09-26 21:38:14 - Could not sign in using Windows Authentication.The user name or password is incorrect.Please verify your credentials and try again. If the problem continues, contact your system administrator or technical support.
Error after user has locked on AD
[E 0E/0000000B/T6480/P9734/S0001] 21-09-26 21:38:16 - The connection could not be established because the specified remote computer could not be found.Verify that you have typed the correct computer address and try connecting to the remote computer again.

Using RAS server v17

[E 0E/0000000B/T5964/P4E88/S0005] 13-02-26 09:57:13 - Logon using Windows Authentication failed. Error: The user name or password is incorrect.
[E 0E/0000000B/T5964/P4E88/S0005] 13-02-26 09:57:34 - Logon using Windows Authentication failed. Error: The user name or password is incorrect.
[E 0E/0000000B/T3A74/P4E88/S0005] 13-02-26 09:57:40 - Logon using Windows Authentication failed. Error: The referenced account is currently locked out and may not be logged on to.
 
Hi,

Thanks for the additional details. This is very interesting, especially since you reproduced the same behaviour with both RAS Client 17.1.21868 and 19.4.25221 after upgrading the RAS Server to v19.

Your logs show a significant difference between the two server versions :

With RAS Server v17, once AD locks the account, the authentication result is correctly reported as:
The referenced account is currently locked out and may not be logged on to.

With RAS Server v19, the same condition eventually becomes:
The connection could not be established because the specified remote computer could not be found.

That message clearly does not represent the actual AD account state.

Since the behaviour follows the RAS Server version and occurs with both an older and a newer RAS Client, I would now suspect a regression in the authentication error handling/mapping on the RAS v19 server side rather than an AD lockout-policy issue or a RAS Client issue.

One final check would be very useful: could you look at the Connection Broker logs at 21:38:16, when the account was already locked?
If the Broker receives/logs the AD locked-account condition (STATUS_ACCOUNT_LOCKED_OUT, Windows status 0xC0000234) but the Client receives the “remote computer could not be found” message, that would strongly confirm that the AD authentication result is being incorrectly mapped or propagated by RAS v19.

At that point, I would open a case with Parallels Support including:

- RAS v17 working behaviour
- RAS v19 failing behaviour
- Client 17.1.21868 test
- Client 19.4.25221 test
- AD Event ID 4740
- Connection Broker logs covering the same timestamp

The comparison you provided already makes a pretty strong case for a v19 regression !

Thierry
 
Back
Top