| Previous | Next |
| ERROR_DS_OPERATIONS_ERROR | ERROR_DS_TIMELIMIT_EXCEEDED |
ERROR_DS_PROTOCOL_ERROR
ERROR_DS_PROTOCOL_ERROR (0x00002021) is an Active Directory Domain Services LDAP result. The LDAP server rejected the request because it did not conform to the LDAP protocol expected by the server.
What to check
- Check the client library, requested operation, control encoding, and LDAP protocol version.
- Capture the client-side request or ETW trace to identify the malformed PDU or unsupported sequence.
- Test the same operation with a supported LDAP client to separate client construction from server configuration.
Useful command
netsh trace start scenario=InternetClient capture=yes
Microsoft: AD DS LDAP operations · Microsoft: LDAP ETW tracing · Microsoft: AD DS diagnostic logging
Looking for a different code? Search another status or error code.