It seems that /usr/share/univention-management-console-frontend/js/umc/modules/udm/UsernameMaxLengthChecker.js has a hard limit for the length of a username. Look for maxLength: 20, This needs to be made configurable in environments where there is no limitation needed (e.g. WebIAM scenarios without Samba etc.)