#1  
Old 8th January 2007, 02:09
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default Client username length bug

I just had a reseller contact me about 4 sites that they setup but were unable to login to each sites control panel.

After a bit or playing around I figured out that they were setting up the clients username (on the "Login Data" tab) as something like "looooooooooooooongdomain.com" . When they pressed save it appeared to get saved (no error) and when they went back to the tab the same username was displayed.

But when I do a select * from sys_user I can see that the username thats actually getting saved is "looooooooooooooongdo", the rest of the username is being cut off. This is due to the username having a limit of 20 chars.

So firstly, is it possible to change the length of the field without any dire consequences to the workings of ISPConfig?

Secondly, if it field can't be changed, is there a form that can be changed to limit the max characters to 20 on the "Login Data" tab.

Thanks,

Benjamin
Reply With Quote
Sponsored Links
  #2  
Old 8th January 2007, 10:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,003 Times in 3,912 Posts
Default

This filed can be changed in sys_user. Please set the username field in sys_user to varchar 255. I put this issue on the bug list.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th January 2007, 12:41
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
 
Default

Thanks Till. Just changed it using

Code:
alter table sys_user change username username VARCHAR(255);
Seems to have fixed it. Thanks.

Cheers,

Benjamin
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generate username from email-address julez Tips/Tricks/Mods 11 2nd June 2007 18:26
High Load (>4.00), Clamscan / SpamAssassin DOCK42 General 8 30th May 2007 17:02
ISPConfig username length carloscastaneda Installation/Configuration 4 15th August 2006 12:16
vsftp - 550 Failed to change directory latcarf Server Operation 8 14th May 2006 02:05
mysqlcheck has found corrupt tables m u r Installation/Configuration 1 18th August 2005 10:47


All times are GMT +2. The time now is 02:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.