[Dovecot] auth-ldap not resetting connection state after failed bind
Timo Sirainen
tss at iki.fi
Sat Dec 29 04:22:22 EET 2007
On Thu, 2007-12-20 at 13:35 -0500, Brendan wrote:
> >> i believe i tracked it down to a couple lines in db_ldap_bind and fixed
> >> it - dovecot-auth is reconnecting to ldap in the condition where it was
> >> not previously:
> >>
> > Thanks. http://hg.dovecot.org/dovecot-1.0/rev/8dcc215fbc06
> >
>
> timo, i think i found another spot where it won't reconnect.
>
> when ldap_conn_reconnect was getting called, it wasn't completely
> reconnecting, and the requests in conn->delayed_requests_tail would
> never be processed.
I noticed that dovecot-auth went into infinite loop. Fixed v1.0 the same
way you did: http://hg.dovecot.org/dovecot-1.0/rev/1a87f8495e07
And rewrote the queuing code for v1.1:
http://hg.dovecot.org/dovecot/rev/0dcea80312b0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071229/a29a855e/attachment.bin
More information about the dovecot
mailing list