[Dovecot] fastbind patch -> auth_bind_userdn patch (attached)

Geff boing at boing.com
Sat Jan 7 03:53:04 EET 2006


I was starting to have nightmares about maintaining my own branch.  :)  
thanks for including this.  I just 'checked it out' (co - ba dump 
bump..).  It passes the "it compiles and retrieved my mail once test". 
:-p

just a thought, looking at my logs, maybe the login should be with the 
DN?  This might be beneficial if one is actually searching (auth_bind = 
yes).

Jan  6 17:48:08 kusanagi dovecot: imap-login: Login: user=<boing>, 
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

vs something like

Jan  6 17:48:08 kusanagi dovecot: imap-login: Login: 
user=<cn=boing,ou=people,o=boing>, method=PLAIN, rip=127.0.0.1, 
lip=127.0.0.1, secured

Thanks again, great work on the imap (and pop) server.

Geff

Quoting Timo Sirainen <tss at iki.fi>:

> On Mon, 2006-01-02 at 17:43 -0800, Geff wrote:
>> Let me know how you like this one.
>>
>> This assumes one config parameter.  The non-null of auth_bind_userdn
>> overrides auth_bind = yes.
>>
>> I'm using this patch now on cvs head.
>
> Committed. I moved some of the common authbind code to a new function.
> See if I broke it :)
>
>



More information about the dovecot mailing list