[sork] Problem with Driver SQL of module Passwd
enza raspante
enza.raspante at mail.ru
Thu Jul 15 04:36:41 PDT 2004
Hi all!
I would like to explain briefly which is my problem.
I have on my server a server mail builded with postfix and cyrus and
users stored in a mysql db,
horde is working fine, and then decided to install also module for
changing passwords.
This is the output error:
"Notice: Undefined index: protocol
in /usr/local/www/horde/passwd/lib/Driver/sql.php on line 53
Failure in changing password : Incorrect Password"
Here is my configuration:
In .../horde/config/registry.php added this entry:
$this->applications['passwd'] = array(
'fileroot' => dirname(__FILE__) . '/../passwd',
'webroot' => $this->applications['horde']['webroot'] . '/passwd',
'icon' => $this->applications['horde']['webroot'] .
'/passwd/graphics/lock.g
if',
'name' => _("Password"),
'allow_guests' => false,
'show' => true,
'status' => 'active'
);
In .../horde/imp/config/conf.php added the word 'passwd' near to
'turba' in this line:
$conf['menu']['apps'] = array('turba');
obtaining the following result:
$conf['menu']['apps'] = array('turba','passwd');
In .../horde/passwd/config/conf.php i looked for this line:
$conf['menu']['apps'] = array();
and modified this way:
$conf['menu']['apps'] = array('imp');
Then the most important file, backends.php. Now it looks like that:
<?php
$backends['sql'] = array (
'name' => 'Horde Authentication',
'preferred' => '',
'password policy' => array(
'minLength' => 3,
'maxLength' => 20,
'maxSpace' => 0,
'minUpper' => 0,
'minLower' => 0,
'minNumeric' => 0
),
'driver' => 'sql',
'params' => array(
'phptype' => 'mysql',
'hostspec' => 'localhost',
'username' => 'mail',
'password' => '*****',
'encryption' => 'crypt',
'database' => 'mail',
'table' => 'users',
'user_col' => 'login',
'pass_col' => 'password'
)
);
Many thanks in advance for your help!
Bye
Enza Raspante
Failure in changing password : Incorrect Password
More information about the sork
mailing list