if you'll take it as a patch, I'll do it anyway you'd like. :) Expect it shortly.
Let me make sure I understand you correctly.
conf
auth_bind = yes auth_bind_userdn = cn=%u....
and then the code would read something like:
if (auth_bind_set && auth_bind_userdn) { perform fastbind } else if (auth_bind_set) { perform auth_bind (seraching model) } ...
?
Geff
Quoting Timo Sirainen <tss@iki.fi>:
On Mon, 2006-01-02 at 16:25 -0800, Geff wrote:
if you set "fast_bind = yes" it overrides auth_bind. And requires that you set userdn. Example config:
fast_bind = yes userdn = cn=%u,ou=people,o=dovecot
Maybe just combine these into one setting? eg. "fast_bind_userdn" or "auth_bind_userdn". There probably can't be any good default value, so the default empty value would mean no fast binding. And then also ignore it if auth_bind=no.