Categories
Knowledge Support Support exacqVision Enterprise Categories Products

Enterprise user names length check on long names fails

Description

Even though the default max user name length on Django base classes is set to 30, ESM code attempts to override it with a max length of 255. However, while actually trying to create user names longer than 30, ESM fails with the database save length check error. For example, this error can be recreated when attempting to login with a LDAP, with ESM trying to create long user name ‘abcdefghijklmno@cfsad.comĀ (domain)’ in the database

<br>

Tested version

4.9.23

<br>

Platform

All

<br>

Steps to reproduce

Attempt to login into ESM from the client’s ‘Synchronize with ESM’ page using a LDAP name that is longer than 25 (will be > 30 by the time ESM appends ‘(domain)’ to the user name).

<br>

Expected result

User login succeeds

<br>

Actual result

User login fails with a client pop up “Please check your URL”.

<br>

Workaround

None

<br>