From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030430 Galeon/1.3.4 Debian/1.3.4.20030503-1 Description of problem: anon-ftp passwords that should work result in 'unknown command' errors. Specifically, 15 char passwords fail, while 14 char passwords succeed. Looking at the source, it appears that it should be using MAX_PASS_LEN, not MAX_USERNAME_LEN... Version-Release number of selected component (if applicable): kernel 2.4.20-9 How reproducible: Always Steps to Reproduce: 1.ftp to a tux-ftp server 2.use an anon-ftp password over 14 characters in length 3.note the failure... Actual Results: login failed Expected Results: should have succeeded Additional info: This patch should fix the issue. --- proto_ftp.c.orig Mon May 5 22:57:35 2003 +++ proto_ftp.c Mon May 5 22:57:59 2003 @@ -354,7 +354,7 @@ unsigned int pass_len; PARSE_FTP_COMM_1_FIELD('P','A','S','S', PASS, pass, &pass_len, - MAX_USERNAME_LEN-1); + MAX_PASS_LEN-1); if (!pass_len) GOTO_ERR; break;
This part of TUX is all in the kernel, reassigning
*** Bug 91213 has been marked as a duplicate of this bug. ***
good catch - patch added.