Re: Dovecot LDAP using custom field to allow users to connect

2017-06-09 Thread Michael JOIGNY
Hi Martin, Thanks for your reply, it's works now !!! Have a good WE. Best Regards. Le 07/06/2017 à 13:14, Martin Wheldon a écrit : Hi Michael, Just noticed you are using auth_bind_userdn which we don't. I think you may need to use pass_filter rather than user_filter?? Best Regards Martin

Re: Dovecot LDAP using custom field to allow users to connect

2017-06-07 Thread Martin Wheldon
Hi Michael, Just noticed you are using auth_bind_userdn which we don't. I think you may need to use pass_filter rather than user_filter?? Best Regards Martin On 2017-06-07 10:59, Martin Wheldon wrote: Hi Michael, We do exactly that see example below: user_filter = (&(&(objectClass=ukFirmGhI

Re: Dovecot LDAP using custom field to allow users to connect

2017-06-07 Thread Martin Wheldon
Hi Michael, We do exactly that see example below: user_filter = (&(&(objectClass=ukFirmGhITPerson)(ukFirmGhITAccSubSrvcs=Email)(ukFirmGhITAccLocked=Email-FALSE))(|(uidNumber=%u)(mail=%u)(ukFirmGhITAccMailAlias=%u))) pass_filter = (&(&(objectClass=ukFirmGhITPerson)(ukFirmGhITAccSubSrvcs=Email)(

Dovecot LDAP using custom field to allow users to connect

2017-06-07 Thread Michael JOIGNY
Hi all, I'd like to know if it's possible to add a custom field when the authentification is made by users. My boolean custom field will be for example "AllowUser" (false/true). I'm trying to do something like that but it's not working : /user_filter = (&(objectClass=posixAccount)(uid=%u)(o