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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to