[Dovecot] Mixing LDAP and static

Timo Sirainen tss at iki.fi
Fri Apr 25 03:25:03 EEST 2008

On Fri, 2008-04-25 at 02:06 +0200, Anders wrote:
> Timo Sirainen wrote:
> > On Fri, 2008-04-18 at 20:07 +0200, Anders wrote:
> >> Anyway, it does not really work, I guess it might be a bug. When I drop 
> >> the attribute, the variables in the template are not interpolated, so I 
> >> end up with home literally being "/var/mail/vhosts/%d/%n" for all lookups.
> > 
> > This should fix it: http://hg.dovecot.org/dovecot-1.1/rev/0dbf10f4493a
> Now I found another problem.
> If no attributes are read via LDAP, auth will segfault. So as I have the 
> home and quota, with home being static, it will crash if the quota is 
> not in LDAP for that user.

I'm not exactly sure if this is the same problem as below since I
couldn't reproduce it, but

> It will also crash if I have only static entries in the user_attrs, but 
> I almost deserve that :-)

Fixed: http://hg.dovecot.org/dovecot-1.1/rev/6c6af734f284

-------------- 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/20080425/5bf9f14f/attachment.bin 

More information about the dovecot mailing list