Summary | Changing password fails with DB: Error |
Queue | Passwd |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | Horde Developers (at) , eric.rostetter (at) physics (dot) utexas (dot) edu |
Requester | mrubinsk (at) horde (dot) org |
Created | 02/08/2005 (7533 days ago) |
Due | |
Updated | 02/27/2005 (7514 days ago) |
Assigned | 02/16/2005 (7525 days ago) |
Resolved | 02/27/2005 (7514 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
#1428, but this has better analysis.State ⇒ Feedback
New Attachment: passwd.patch
from the form field when $conf['user']['change'] == true
Assigned to
State ⇒ Assigned
$backends['sql'] = array (
'name' => 'Horde Authentication',
'preferred' => '',
'password policy' => array(
'minLength' => 3,
'maxLength' => 8,
'maxSpace' => 0,
'minUpper' => 0,
'minLower' => 1,
'minNumeric' => 1,
'minSymbols' => 0
),
'driver' => 'sql',
'params' => array(
'phptype' => 'mysql',
'hostspec' => 'localhost',
'username' => 'horde',
'password' => 'real_password',
'encryption' => 'md5-hex',
'database' => 'horde',
'table' => 'horde_users',
'user_col' => 'user_uid',
'pass_col' => 'user_pass',
'show_encryption' => false
)
);
Log:
Feb 08 13:19:17 HORDE [debug] [passwd] SQL Query by
Passwd_Driver_sql::_lookup(): SELECT user_pass FROM horde_users WHERE
user_uid = NULL [on line 103 of
"/home/www/html/horde/passwd/lib/Driver/sql.php"]
To clarify, the error I get is 'User not found' - the username is
typed into the username field. ..again, if I select not to allow the
username field to show, this works fine.
Queue ⇒ Passwd
State ⇒ Feedback
Version ⇒ HEAD
error message from the log (without the password).
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Changing password fails with DB: Error
Queue ⇒
State ⇒ Unconfirmed
password using the passwd module I get a a DB Error: Syntax error.
The logs show that the sql statement is using a 'null' value for
user_id no matter what is typed into the username field. If I change
the config so that the username field is not visible it works fine.