[pmwiki-users] Problem using dbauth.php with authuser.php

Ahmed Ibrahim wedgemusic at yahoo.com
Sun Oct 16 23:16:25 CDT 2005


I'm running into a problem using dbauth.php with
authuser.php. dbauth.php is able to access the MySQL
database and extract the correct information. However,
authuser.php isn't able to authenticate the user
because the password hashes don't match. The database
password is an MD5 hash yet authuser.php appears to be
treating it as a standard Unix crypt. For example, the
database contains the password "password." Its MD5
hash is:

5f4dcc3b5aa765d61d8327deb882cf99

Which dbauth.php correctly retrieves. However,
authuser.php gives the hash:

5fjgIzboD2FrE

Obviously authuser.php is having trouble with MD5
encrypted passwords. Any help please?





		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs




More information about the pmwiki-users mailing list