Horde passwd change

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
plobby
Normal user
Normal user
Posts: 115
Joined: 2008-01-29 07:04

Horde passwd change

Post by plobby » 2008-02-27 19:04

Code: Select all

$backends['sql'] = array (
    'name' => 'hmailserver',
    'preferred' => '',
    'password policy' => array(
        'minLength' => 3,
        'maxLength' => 15,
        'maxSpace' => 0,
        'minUpper' => 0,
        'minLower' => 0,
        'minNumeric' => 0,
        'minSymbols' => 0
    ),
    'driver' => 'sql',
    'params' => array(
        'phptype'    => 'mysql',
        'hostspec'   => 'localhost',
        'username'   => '',
        'password'   => '',
        'encryption' => 'md5-hex',
        'database'   => 'hmailserver',
        'table'      => 'hm_accounts',
        'user_col'   => '',
        'pass_col'   => '',
        'show_encryption' => false
I had been looking through the squirrelmail password change script but cannot figure it out. What are the correct settings that should be in here for the table, user_col, and pass_col? And does there need to be more than just those settings?

Also the 'preferred' setting, what should go there?

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2008-02-27 20:01

The table setting seems to be correct already. The user name column in the hm_accounts is called accountaddress and the password column is called accountpassword.

I have no clue about the preferred setting. Since it's a Horde setting perhaps you can check the docs for Horde?

plobby
Normal user
Normal user
Posts: 115
Joined: 2008-01-29 07:04

Post by plobby » 2008-02-27 20:16

That worked perfectly, thank you very much.

kenlinxp
New user
New user
Posts: 12
Joined: 2007-09-21 02:46

Post by kenlinxp » 2008-03-05 16:25

plobby wrote:That worked perfectly, thank you very much.
Can you show the all change password script, and where is the file that include those php script? Thank You.

Post Reply