Hi Marc,
There are two hard coded values in server_privileges.lib.php script which username and hostname lengths. (line 849). Can we define those values in a config file and access using $GLOBAL['cfg']['username_length'] and   $GLOBAL['cfg']['hostname_length'], Then it'll maintainable.

--
Regards.

Thilina Abeyrathna
Gtalk : thilinaabeyrathna
skype: thilinabuddika88
thilinaa.wordpress.com