[Dovecot] authentication via LDAP

Gerardo Herzig gherzig at fmed.uba.ar
Tue Aug 9 15:25:51 EEST 2011


El mar, 09-08-2011 a las 00:47 +0300, DaLiV at apollo.lv escribió:
> in principle possible:
> 
> pass auth:
> auth_bind = yes
> auth_bind_userdn = uid=%u,ou=Person,o=Work
> 
> filter by group:
> user_filter = 
> (&(&(&(objectclass=user)(objectclass=person))(memberOf=*MailUsers.*))(uid=%n))
> pass_filter = 
> (&(&(&(objectclass=user)(objectclass=person))(memberOf=*MailUsers.*))(uid=%u))
> 
> but need to configure ldap for memberOf ....
> Gerardo Herzig wrote:
> > Hi all. I have a couple of questions. ANY of those will solve mi
> > situation.
> >
> > 1) 'Complex' LDAP validation:
> > I need to validate a user in the 2 step authentication / authorizacion
> > mech.
> >
> > The 'users' (with the password) are in
> > ou=Person,o=Work
> >
> > the group which contains the mail users is in
> > cn=MailUsers,ou=Groups,o=Work
> >
> >
> 

Thanks for the guidance, i will try it!

Gerardo




More information about the dovecot mailing list