Re: [Dovecot] authentication via LDAP

2011-08-09 Thread Gerardo Herzig
El mar, 09-08-2011 a las 00:47 +0300, da...@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_filt

Re: [Dovecot] authentication via LDAP

2011-08-08 Thread da...@apollo.lv
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)

[Dovecot] authentication via LDAP

2011-08-08 Thread Gerardo Herzig
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=MailUser