Proftpd user-auth with mod_sql/mod_sql_passwd

Posted by Zae on Server Fault See other posts from Server Fault or by Zae
Published on 2011-11-21T09:08:20Z Indexed on 2011/11/21 9:56 UTC
Read the original article Hit count: 243

Filed under:
|
|

I'm reading up how to interface ProFTPd with MySQL for an implementation I'm working on, I noticed it seems like all the example code or instructions I see have the user login field in MySQL set as "varchar(30)".

I don't see anything saying there's a limit to the field length for ProFTPd, but I wanted to check around anyway. The project this setup is going to get mixed into was planning to have their universal usernames support "varchar(255)". Can I use that safely? or is there an FTP limitation elsewhere I'm missing?

Running ProFTPd 1.3.4a(custom compiled), MySQL 5.1.54(ubuntu repos)

© Server Fault or respective owner

Related posts about mysql

Related posts about logging