If one user can’t sign in through a SonicWall’s LDAP integration, and the LDAP test fails with 80090308 … data 52e even though their password is definitely right, check the password for a £ sign (or €, or an accented letter). The SonicWall sends characters like these to Active Directory in a different form from Windows, so the password doesn’t match and AD rejects it. Changing the password to one without those characters fixes it straight away.
I came across this recently. Every other user authenticated through the SonicWall without any trouble, but one user was rejected every time, even though the same password worked perfectly when they signed in to other systems. Here’s how to spot it, and why it happens.
The symptoms
This one is easy to misdiagnose, because everything points at a wrong password:
- Only one user (or a handful) can’t authenticate through the SonicWall, for example for the VPN, SSL-VPN, or the user portal.
- Everyone else authenticates normally, so the LDAP settings and the bind account are fine.
- The LDAP test on the SonicWall returns LDAP authentication failed, with an error like
80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e. - The same username and password work everywhere else, including signing in to Windows.
In that error, data 52e is Active Directory’s code for invalid credentials. AD isn’t saying the account is locked or disabled. It’s saying the password it received doesn’t match the one it has stored.
Why a £ sign breaks it
Characters like £, €, é, or ü aren’t part of basic ASCII, the small set of characters (A to Z, numbers, and common symbols) that every system agrees on. Outside that set, the same character can be stored as different bytes depending on the encoding a system uses.
For example, in the encoding Windows uses for older programs, £ is a single byte. In UTF-8, which modern systems and LDAP expect, it’s two bytes. If the SonicWall sends the password in one form and Active Directory compares it in the other, the passwords look identical to a person but not to the computer. AD sees a different password, and returns data 52e.
Why it only affects one user: nobody else has a £, €, or accented letter in their password. That’s the giveaway. If the settings were wrong, everyone would fail.
How to fix it
The reliable fix is to change the user’s password to one that only uses standard characters. You can still use symbols like !, ?, #, and @, as these are standard ASCII.
- Ask the user to change their password, or reset it in Active Directory Users and Computers, avoiding £, €, accented letters, and any other non-standard characters.
- If you have more than one domain controller, give the change a minute or two to reach them all.
- On the SonicWall, open the LDAP configuration and run the Test again with the new password.
- Once the test passes, ask the user to sign in to the VPN or portal as normal.
In my case, the LDAP test passed as soon as the password was changed, and the user could sign in without any other changes.
Other LDAP “data” codes worth knowing
The code after data in the error tells you what Active Directory actually objected to. If yours isn’t 52e, this table should point you in the right direction:
| Code | What it means |
|---|---|
| 52e | Invalid username or password |
| 525 | User not found |
| 530 | Not allowed to sign in at this time |
| 531 | Not allowed to sign in from this computer |
| 532 | Password has expired |
| 533 | Account is disabled |
| 701 | Account has expired |
| 773 | User must change their password |
| 775 | Account is locked out |
A 52e for every user usually means the SonicWall’s own bind account details are wrong, or its password has changed or expired. A 52e for one user, with a password you know is right, is where the £ sign comes in.
Stop it happening again
If your users sign in through a SonicWall, for example for the VPN, tell them to avoid £, €, accented letters, and other special characters in their passwords. Stick to letters, numbers, and the symbols printed on a standard keyboard. Long passphrases made of a few random words are just as secure, and easier to remember.
Questions
Does this only affect SonicWall?
No. Any system that passes passwords to Active Directory can trip over non-ASCII characters if it uses a different encoding, including some older VPNs, Wi-Fi systems, printers, and web apps. If one user fails everywhere except Windows itself, it’s worth checking their password for special characters.
Can I just change the SonicWall’s settings instead?
There’s no simple setting for this, so changing the password is the quickest and most reliable fix. Keeping the firmware up to date is still a good idea, as it fixes plenty of other issues.