Bug 173013 - You can't use passwords longer than 16 characters
Summary: You can't use passwords longer than 16 characters
Alias: None
Product: Fedora
Classification: Fedora
Component: pam_mysql
Version: 4
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ignacio Vazquez-Abrams
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2005-11-12 12:20 UTC by Vilius Šumskas
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2005-11-14 08:31:01 UTC

Attachments (Terms of Use)

Description Vilius Šumskas 2005-11-12 12:20:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; WOW64; SV1; .NET CLR 2.0.50727)

Description of problem:
You can't use passwords longer than 16 characters due to limitation in pam_mysql itself.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create /etc/pam.d/imap file (or whatever) with content "auth sufficient pam_mysql.so user=mail passwd=123456789012345678 host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host logpidcolumn=pid logtimecolumn=time"

2. create database "mail" and mysql user "mail" with password "123456789012345678" to login to.

3. try to login to cyrus (or whatever) through pam_mysql. and you will get "access denied" error.

4. however with password "1234567890123456" everything works as expected.

Actual Results:  You will get "access denied" error.

Additional info:

Comment 1 Ignacio Vazquez-Abrams 2005-11-13 17:50:34 UTC
An updated package has been built. Please update pam_mysql and see if the
problem persists.

Comment 2 Vilius Šumskas 2005-11-13 20:27:46 UTC
It my sound stupid, but where should I get it? :). yum and up2date doesn't 
return any new updates.

Comment 3 Ignacio Vazquez-Abrams 2005-11-14 03:12:05 UTC
Well, it was *just* pushed out today so the only placed you'd find it is at
download.fedora.redhat.com, at least until the mirrors sync up.

Comment 4 Vilius Šumskas 2005-11-14 08:22:52 UTC
It seems that it fixed the problem.

Thanks for fast actions taken!

Note You need to log in before you can comment on or make changes to this bug.