Dovecot 2.2.12

wid wid at list.widdi.eu
Sun Apr 20 00:27:53 CEST 2014


You're right. I works now. My kolab-service ldap user was not able to auth. Only Directory Manager can. 
Thank you for the help.

This is my config now:
hosts = localhost
dn = cn=Directory Manager
dnpass = "password"
auth_bind = no
base = dc=example,dc=org
scope = subtree
user_attrs =uid= mail,uid=home=/var/vmail/%d/%{ldap:uid}
user_filter = (|(&(|(uid=cyrus-admin)(uid=cyrus-murder))(uid=%u))(&(|(uid=%n)(mail=%u))(objectclass=kolabinetorgperson)))
pass_attrs = uid=user,userPassword=password,=user=%{ldap:mail}
pass_filter = (|(&(|(uid=cyrus-admin)(uid=cyrus-murder))(uid=%u))(&(|(uid=%n)(mail=%u))(objectclass=kolabinetorgperson)))
default_pass_scheme = SSHA

Maybe I write something in the Kolab wiki when I have everything ready.

Am 19.04.2014 um 21:04 schrieb Mihai Badici:

> On Saturday 19 April 2014 20:51:03 wid wrote:
>> (|(&(|(uid=cyrus-admin)(uid=cyrus-murder))(uid=%u))(&(|(uid=%u)(mail=%n@%d)
> Did you try to change the last as: |(uid=%u)(mail=%u)?
> I think should work. 
> Notice this filter is invoked twice: when login and when using dovecot delivery 
> ( if you use it, for example for sieve filtering) . So you need to accomodate 
> both cases and be also carefull with parameters in postfix's master.cf ( 
> regarding delivery)
> 
> 
> -- 
> Mihai Bădici
> http://mihai.badici.ro
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users



More information about the users mailing list