[Tickets #3739] RESOLVED: customsql auth driver does not work with encryption schemes using salt

bugs@bugs.horde.org bugs at bugs.horde.org
Wed May 24 15:06:22 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3739
-----------------------------------------------------------------------
 Ticket             | 3739
 Updated By         | dorm at dorm.org
 Summary            | customsql auth driver does not work with encryption schemes using salt
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Resolved
 Priority           | 1. Low
 Type               | Bug
 Owners             | Chuck Hagenbuch, Horde Developers
-----------------------------------------------------------------------


dorm at dorm.org (2006-05-24 15:06) wrote:

One more. :)  Variables names in PHP are case sensitive.

@@ -298,7 +298,7 @@
     {
         /* Retrieve the old password in case we need the salt. */
         $query = $this->_params['query_getpw'];
-        $query = str_replace('\L', $this->_db->quote($userID), $query);
+        $query = str_replace('\L', $this->_db->quote($userId), $query);
         $pw = $this->_db->getOne($query);
         if (is_a($pw, 'PEAR_Error')) {
             Horde::logMessage($pw, __FILE__, __LINE__, PEAR_LOG_ERR);





More information about the bugs mailing list