zpanel / zpanelx

ZPanel is a web hosting control panel written in PHP for Windows and *NIX host OS's.
http://www.zpanelcp.com
Other
415 stars 296 forks source link

FTP username character limitation #236

Open devnix opened 10 years ago

devnix commented 10 years ago

Hi! I've created a FTP user called "alquilerpisosacturcom". I can login with it, but my client reported me that he was unable to login.

When I shadowed and checked the username displayed in the panel, I saw that the name cuts at 20 chars, and it displays "alquilerpisosacturco".

As the 21 chars username is working on the system, I understand there's no technical limitation for doing this, and the cut is done only on displaying the username on the panel. Am I right?

Cheers and great work with zpanel, I hope I can contribute some day :)

BiserHosting commented 10 years ago

I also point out this problem

Diablo925 commented 10 years ago

you can change it in the Database

or you can install my module "ftp_management_plus" is allow 255 chars and domain use

zppy repo add repo.alio.dk zppy update zppy install ftp_management_plus

devnix commented 10 years ago

It's not a database problem, but a display. El 04/08/2014 00:01, "Carsten Andersen" notifications@github.com escribió:

you can change it in the Database

or you can install my module "ftp_management_plus" is allow 255 chars and domain use

zppy repo add repo.alio.dk zppy update zppy install ftp_management_plus

— Reply to this email directly or view it on GitHub https://github.com/zpanel/zpanelx/issues/236#issuecomment-51004673.

Diablo925 commented 10 years ago

YES the SQL not allow more then 20 chars

devnix commented 10 years ago

IDK, but internally the login works when the username is > 20 chars. Also, if you type only the first 20 the login doesnt worjs, and that's the main problem: the panel provides you an username that doesnt exist. El 04/08/2014 09:33, "Carsten Andersen" notifications@github.com escribió:

YES the SQL not allow more then 20 chars

— Reply to this email directly or view it on GitHub https://github.com/zpanel/zpanelx/issues/236#issuecomment-51026027.

Diablo925 commented 10 years ago

the databse zpanel_proftpd wher Linux ftp username are store is it 32 chars :p