[Dovecot] Mixing LDAP and static

Anders mail at flac.kalibalik.dk
Fri Apr 25 03:06:23 EEST 2008


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.

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


Anders.


More information about the dovecot mailing list