IBM Support

QRadar: LDAP user authentication failed with "username must contain no more than {0} characters" error

Troubleshooting


Problem

LDAP user is not able to log in to the QRadar GUI. 

Symptom

Errors similar to the following appear in qradar.error:
[QRADAR] [user@domain.com@0.0.0.0 (9785) /console/login] edu.vt.middleware.ldap.jaas.JaasAuthenticator: [INFO] Authentication succeeded for dn: uid=user@domain.com,ou=People,ou=QRADAR,dc=DOMAIN,dc=com
[tomcat.tomcat] [user@domain.com@0.0.0.0 (9785) /console/login] com.q1labs.uiframeworks.auth.user.LocalUserRepository: [ERROR] [NOT:0000003000][0.0.0.0/- -] [-/- -]Username must contain no more than {0} characters.
[QRADAR] [user@domain.com@0.0.0.0 (1718) /console/login] edu.vt.middleware.ldap.jaas.JaasAuthenticator: [INFO] Authentication failed for dn: uid=user@domain.com,ou=People,ou=QRADAR,dc=DOMAIN,dc=com
user@domain.com is the affected user in this example. If you encounter this error, it is because the username is over 61 characters.
 
UI error example:

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"ARM Category":[{"code":"a8m0z000000cwsyAAA","label":"Admin Tasks"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
22 June 2023

UID

ibm16604313