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 ? -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <https://dovecot.org/pipermail/dovecot/attachments/20210930/10a709a0/attachment.sig>
> 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