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

Timo Sirainen tss at iki.fi
Thu Feb 18 19:21:13 EET 2010


Attached updated patch that actualy uses bind_dn, as pointed out by
Edgar Fuß.

On Thu, 2010-02-18 at 16:38 +0200, Timo Sirainen wrote:
> 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/52a383fd/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/52a383fd/attachment-0001.bin 


More information about the dovecot mailing list