[Dovecot] LDAP as password database - some problems / suggestions

Timo Sirainen tss at iki.fi
Thu Feb 18 16:38:45 EET 2010


On Thu, 2010-02-18 at 09:19 +0100, Stefan Palme wrote:
>   base="ou=groups,dc=kapott.org"
>   filter="(&(cn=dovecot)(member=cn=%u,ou=users,dc=kapott,dc=org))"
>   result_attribute="member"
> 
> After finding a DN this way (via attribute "member"), I want to use 
> auth_bind to use this DN for password verification...

How about if it worked like:

pass_attrs = member=bind_dn, ...
pass_filter = ..

?

Attached patch does that. If it works, I'll commit it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldap-dn.diff
Type: text/x-patch
Size: 2610 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20100218/cdf818fa/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100218/cdf818fa/attachment-0001.bin 


More information about the dovecot mailing list