check max user name len (arbitrary max: 255)
alloca the ldap filter to avoid overflow through config + long user name