dovecot ldap and mysql

Aki Tuomi aki.tuomi at open-xchange.com
Thu Sep 30 15:44:29 EEST 2021


> On 30/09/2021 15:01 Maciej Milaszewski <maciej.milaszewski at iq.pl> wrote:
> 
>  
> Hi
> I have dovecot director + nodes and migrate users from ldap to mysql.
> I allow to auth via e-mail and alias and uid - thats i need
> 
> In director ( where users is in ldap ) all works fine - user is proxy to
> UID like:
> 
> ...
> doveadm auth test ola at domain.ltd passs
> passdb: ola at domain.ltd auth succeeded
> extra fields:
>   user=uid_122_ola_domain.ltd
>   proxy
>   original_user=ola at domain.ltd
> ...
> 
> In lab director2 ( where users is in mysql) not:
> ...
> doveadm auth test ola at domain.ltd passs
> passdb: ola at domain.ltd auth succeeded
> extra fields:
>   user=ola at domain.ltd
>   proxy
> ...
> 
> and I dont known where is a problem in mysql. Mayby subquery/other ?

Can you include the relevant bits of doceot ldap and mysql config files, please?

Aki


More information about the dovecot mailing list