[Dovecot] auth-req-handler.c adds spurious tab

Timo Sirainen tss at iki.fi
Sat Nov 4 11:21:21 UTC 2006

On Fri, 2006-11-03 at 13:22 +0100, Chris Laif wrote:
> If the auth backend (postgresql in my case) returns extra fields, and
> all of these extra_fields begin with 'userdb_', the auth_callback
> functions adds an unwanted extra tab at the end of the response:
> auth(default): client out: OK^I8^Iuser=foo at bar^I
> This extra tab at the end confuses exim's dovecot-auth handler (the
> exim-dovecot auth handler does not correctly count the number of
> returned fields then (side note: the code on exim's side should
> probably be cleaned up as well)).
> A quick fix is attached below.

Thanks, fixed.
-------------- 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/20061104/895650a9/attachment.pgp 

More information about the dovecot mailing list