httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46672] New: Insufficient documentation for mod_authn_dbd: password format
Date Sun, 08 Feb 2009 09:19:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46672

           Summary: Insufficient documentation for mod_authn_dbd: password
                    format
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: 2005@kuarepoti-dju.net


mod_authn_dbd calls apr_password_validate() which seems to assume an
MD5-encoded password, using the '$1$SaltMd5' notation known from the
MD5-enabled crypt. Neither plain-text passwords nor PostgreSQL's md5() function
seem to be accepted.

Proposed fixes:
- the documentation should make it clear in which format the passwords must be
stored in the database
- the module should throw a more detailed error when it finds out that the
password is not in MD5 format, or even better introduce an option for plain,
crypt, md5 etc. passwords

In addition, the documentation could mention that there are database-specific
authentication modules like http://www.giuseppetanzilli.it/mod_auth_pgsql2/
which are not related, for the convenience of the unexperienced user.
Otherwise, configuration madness ensues :)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message