[horde] horde 3.2.1, imp 4.2, ldap auth??

eculp eculp at encontacto.net
Tue Aug 19 15:30:15 UTC 2008


Quoting Norberto Bensa <nbensa at gmail.com>:

> Hello list,
>
> I'm happily running horde 3.1.8 (and imp 4.1.6) with ldap auth. conf.php is:
>
> $conf['auth']['admins'] = array('nbensa');
> $conf['auth']['checkip'] = true;
> $conf['auth']['checkbrowser'] = true;
> $conf['auth']['alternate_login'] = false;
> $conf['auth']['redirect_on_logout'] = false;
> $conf['auth']['params']['hostspec'] = 'ldaps://ldap.bensa.ar';
> $conf['auth']['params']['basedn'] = 'dc=bensa,dc=ar';
> $conf['auth']['params']['version'] = '3';
> $conf['auth']['params']['ad'] = false;
> $conf['auth']['params']['uid'] = 'uid';
> $conf['auth']['params']['encryption'] = 'plain';
> $conf['auth']['params']['newuser_objectclass'] =  
> array('shadowAccount', 'inetOrgPerson', 'hordePerson');
> $conf['auth']['params']['objectclass'] = array('shadowAccount');
> $conf['auth']['params']['filter_type'] = 'objectclass';
> $conf['auth']['params']['password_expiration'] = 'no';
> $conf['auth']['driver'] = 'ldap';
>
> but after upgrading to horde 3.2.1 and imp 4.2, it just doesn't  
> work. There is no activity in slap beyond connection attempt; there  
> is no filter activity from horde.
>
> auth always fails. Horde log is of no use to me but here it is:
>
> Aug 18 23:43:18 HORDE [debug] [horde] SQL Query by  
> SessionHandler_mysql::_read(): query = "SELECT session_data FROM  
> horde_sessionhandler WHERE session_id =  
> 'a1fcd3a04c2ed3cb92ea0b7da64128ae' AND session_lastmodified >  
> 1219112358 FOR UPDATE" [pid 7496 on line 144 of  
> "/var/www/mail.bensa.ar/horde/lib/Horde/SessionHandler/mysql.php"]
> Aug 18 23:43:18 HORDE [debug] [horde] SQL Query by  
> SessionHandler_mysql::destroy(): query = "DELETE FROM  
> horde_sessionhandler WHERE session_id =  
> 'a1fcd3a04c2ed3cb92ea0b7da64128ae'" [pid 7496 on line 220 of  
> "/var/www/mail.bensa.ar/horde/lib/Horde/SessionHandler/mysql.php"]
> Aug 18 23:43:18 HORDE [error] [horde] FAILED LOGIN for nbensa  
> [192.168.1.201] to Horde [pid 7496 on line 164 of  
> "/var/www/mail.bensa.ar/horde/login.php"]
> Aug 18 23:43:18 HORDE [debug] [horde] Max memory usage: 1310720  
> bytes [pid 7496 on line 339 of  
> "/var/www/mail.bensa.ar/horde/lib/Horde/Registry.php"]
>
> I've tried a truncate on horde_sessionhandler but so far, nothing  
> changed. I reverted back to horde 3.1.8 + imp 4.1.6.
>
> This is not my first attempt to this upgrade. It always results in  
> failed authentication when using ldap backend.

a cut and paste of a login attempt from slapd.log could help.

Something like:
Aug 19 10:20:37 casasponti slapd[1234]: conn=11360 op=4 SRCH  
base="o=worldinternet.org" scope=2 deref=0 filter="(&(objectClas
s=CourierMailAccount)(mail=candoval at casaspont.net))"
Aug 19 10:20:37 casasponti slapd[1234]: conn=11360 op=4 SRCH  
attr=homeDirectory defaultDelivery cn userPassword mail quota
Aug 19 10:20:37 casasponti slapd[1234]: <= bdb_equality_candidates:  
(objectClass) not indexed
Aug 19 10:20:37 casasponti slapd[1234]: <= bdb_equality_candidates:  
(objectClass) not indexed
Aug 19 10:20:37 casasponti slapd[1234]: <= bdb_equality_candidates:  
(mail) not indexed

Also the following line from horde/config/conf.php
$conf['auth']['driver] = 'ldap';
or confirm that yours is ldap.

good luck,

ed

>
> Any ideas?
>
> Many thanks in advance,
> Norberto
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



More information about the horde mailing list