[horde] Re: Undefined index: encryption

Dmitry Diskin dda at ic.ru
Wed Apr 30 01:21:20 PDT 2003


The problem was solved by adding the following line to conf.php:

$conf['auth']['params']['encryption'] = 'md5-hex';

Should it be added to ditribution?

Regards,
Dmitry.

Dmitry Diskin wrote:
> Hello!
> 
> I have just checked out latest HEAD, configured database, and all config 
> files are almost the same as .dist ones. But I can't log in to horde as 
> admin (I run auth_initial_user.sql script to create it). I'm getting the 
> following message in /tmp/horde.log:
> 
> [Tue Apr 29 21:06:13 2003] [error] PHP Notice:  Undefined index: 
> encryption in /home/dda/horde/lib/Auth/sql.php on line 289
> 
> Am I missing something? I found the following in 
> ~/horde/passwd/config/backends.php:
> 
> $backends['sql'] = array (
>     'name' => 'Horde Authentication',
>     'preferred' => '',
>     'password policy' => array(
>         'minLength' => 3,
>         'maxLength' => 8,
>         'maxSpace' => 0,
>         'minUpper' => 1,
>         'minLower' => 1,
>         'minNumeric' => 1
>     ),
>     'driver' => 'sql',
>     'params' => array(
>         'phptype'    => 'pgsql',
>         'hostspec'   => 'localhost',
>         'username'   => 'horde',
>         'password'   => '*****',
>         'encryption' => 'md5-hex',
>         'database'   => 'horde',
>         'table'      => 'horde_users',
>         'user_col'   => 'user_uid',
>         'pass_col'   => 'user_pass'
>     )
> );
> 
> I was thinking that I should specify database password in one and only 
> one place (~horde/config/conf.php). Is it an exception?
> 
> Here is my test.php output:
> 
> Horde Version
> 
>     * Horde: 3.0-cvs
> 
> Horde Applications
> 
>     * Horde: 3.0-cvs
>     * Imp: 4.0-cvs (run Imp tests)
>     * Turba: 2.0-cvs (run Turba tests)
>     * Accounts: 3.0-cvs
>     * Passwd: 2.2-cvs
> 
> PHP Version
> 
>     * View phpinfo() screen
>     * View loaded extensions
>     * PHP Version: 4.3.1
>     * PHP Major Version: 4.3
>     * PHP Minor Version: 1
>     * PHP Version Classification: release
>     * You are running a supported version of PHP.
> 
> PHP Module Capabilities
> 
>     * Ctype Support: Yes
>     * DOM XML Support: Yes
>     * FTP Support: Yes
>     * Gettext Support: Yes
>     * Iconv Support: No
>     * IMAP Support: Yes
>     * LDAP Support: Yes
>     * Mbstring Support: Yes
>     * MCAL Support: No
>     * Mcrypt Support: Yes
>     * MIME Magic Support: No
>     * MySQL Support: Yes
>     * OpenSSL Support: Yes
>     * PostgreSQL Support: Yes
>     * XML Support: Yes
> 
> Miscellaneous PHP Settings
> 
>     * magic_quotes_runtime disabled: Yes
>     * file_uploads enabled: Yes
>     * safe_mode disabled: Yes
>     * trans_sid disabled: Yes
> 
> Required Horde Configuration Files
> 
>     * config/conf.php: Yes
>     * config/hooks.php: Yes
>     * config/html.php: Yes
>     * config/mime_drivers.php: Yes
>     * config/mime_mapping.php: Yes
>     * config/nls.php: Yes
>     * config/prefs.php: Yes
>     * config/registry.php: Yes
> 
> PHP Sessions
> 
>     * Session counter: 10
>     * To unregister the session: click here
> 
> PEAR
> 
>     * PEAR: Yes
>     * Recent PEAR: Yes
>     * Mail_RFC822: Yes
>     * Mail_Mime: Yes
>     * Log: Yes
>     * DB: Yes
>     * Net_Socket: Yes
>     * Date_Calc: No
>       Horde requires the Date_Calc class for Kronolith to calculate dates.
>     * Auth_SASL: Yes
>     * HTTP_Request: Yes
>     * Net_URL: Yes
>     * File_CSV: No
>       Horde will work without the File_CSV class, but there may be 
> errors when importing some CSV files.
> 
> Thanks,
> Dmitry.
> 
> 
> 





More information about the horde mailing list