Author: iain-mediazilla
Description:
During a clean/new installation of Mediawiki 1.7.1 / Php 5.0.1 / MySql 4.1.10a .
Mysql error is returned when db username is more than 16 characters.
Installation process crashes and doesn't give suggestion on how to fix.
Granting user permissions...
Query "GRANT DELETE,INSERT,SELECT,UPDATE,CREATE TEMPORARY TABLES ON _wikidb.*
TO 'REALLY_LONG_WIKIUSER_NAME'@'%' IDENTIFIED BY 'falsepassword' " failed with
error code "The host or user argument to GRANT is too long (localhost)".
Suggestion,
Checking for 'wiki username' of greater that 16 characters, and fail
customized username, if so.
Notes:
- Version numbers: Mediawiki 1.7.1 on SuSE 9.3, Mysql 4.1.10a, PhpAdmin
2.7.0-pl2, Php 5.0.1 , Apache 2.0.53 .
- Username's of greater than 16 characters also sometimes lockup mysql/apache
webserver.
- MyPhpAdmin also prevents creation of usernames of greater than 16 characters.
Version: unspecified
Severity: normal