[Dovecot] Bug in db-ldap.c with Dovecot1.1rc3

Timo Sirainen tss at iki.fi
Tue Apr 1 11:45:51 EEST 2008


On Thu, 2008-03-13 at 17:00 -0700, richs at whidbey.net wrote:
> When db_ldap_result_iterate_next_all() runs, "quotaKb" is encountered, 
> which causes "ctx->template" to be set.
> 
> On the next iteration, "uidNumber" is encountered, but "ctx->template" 
> is still set, causing the "uid" value to be prepended with "*:storage=".
> 
> This is reflected by an error in the log as:
> 
> 	Invalid UID value '*:storage=121212'
> 
> This can be fixed by adding a line after 1118 to src/auth/db-ldap.c:
> 
> 	ctx->template = NULL;

Thanks, fixed: http://hg.dovecot.org/dovecot-1.1/rev/15fbff736ab9

-------------- 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/20080401/b9da8b3e/attachment.bin 


More information about the dovecot mailing list