[dev] Auth driver : validateAuth false and imp still try to login to Imap

Ralf Lang lang at b1-systems.de
Mon Mar 9 09:36:58 UTC 2015


On 06.03.2015 17:26, SSRI wrote:
> 
> Hi,
> 
> We use a custom authentication backend and have implemented a
> validateAuth() function.
> 
> When validateAuth() returns false, we have noticed that imp still try to
> login to our IMAP server 3 times before user is logged out.
> 
> Why user isn't disconnected immediatly after the first time
> validateAuth() returns false ?
> 
> Regards.
> 
> SSRI Team.
> IT Services.
> Université Panthéon-Assas ( Paris 2 ).

The Imap code stores a cached copy of the credentials used during login.
Last time I worked in this area in 2013, there was no way of notifying
this storage about changed credentials. Michael may know better than me
if there is any change in this area-

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/dev/attachments/20150309/e9f72c72/attachment.bin>


More information about the dev mailing list