[horde] horde authentication/prefs

Sean Symes sean@seans.net
Fri Nov 1 21:32:20 2002


I've set up horde and it works authenticating on imaps but when I add in
the database prefs horde tries to authenticate using the horde_users
table of the database instead of imap 

$conf['auth']['driver'] = 'imap'; 
$conf['auth']['params'] = array(); 
$conf['auth']['params']['dsn'] =
'{localhost:993/imap/ssl/novalidate-cert}INBOX'; 

added... 

$conf['prefs']['driver'] = 'sql'; 
$conf['prefs']['params'] = array(); 

$conf['prefs']['params']['phptype'] = 'pgsql'; 
$conf['prefs']['params']['hostspec'] = 'localhost'; 
$conf['prefs']['params']['username'] = 'horde'; 
$conf['prefs']['params']['password'] = 'mypassword' 
$conf['prefs']['params']['database'] = 'horde'; 
$conf['prefs']['params']['table'] = 'horde_prefs'; 

After adding the above configuration login's no longer until I put a
user/password entry int table 'horde_users' 

Can you let me know where I am going wrong... 


Installed horde-2.1 and imp-3.1. 

I would like to authenticate using imap and use the database for prefs,
is this possible? 


Thanks 

Sean.