[Dovecot] fast bind patch for ldap passwords
All,
I'm not sure if I sent this in yet or not. Basically it works like this:
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
I'm using the patch right now on the cvs head branch.
Comments are welcome.
Geff
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.
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.
Timo Sirainen escribió:
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.
or auth_bind_mode =
Regards,
Angel Marin http://anmar.eu.org/
participants (3)
-
Angel Marin
-
Geff
-
Timo Sirainen