OX Connector OX_FUNCTIONAL_ACCOUNT_LOGIN_TEMPLATE not working for IMAP login

Hi Guys,

I’m unable to login to OX functional account(s) via IMAP with customized login template.

To try it out, in OX Connector I just added a plus in between: {{fa_entry_uuid}}+{{username}}

Via ‘univention-app configure ox-connector --list’ I get…
OX_FUNCTIONAL_ACCOUNT_LOGIN_TEMPLATE: ‘{{fa_entry_uuid}}+{{username}}’
…so it seems to be set correctly.

Also I see the adjusted username(s) in OX mysql user_mail_account table, but I think the db is not used for authentication, but LDAP…

I tried:

  • restart services (posfix, dovecot, open-xchange)
  • univention-directory-listener-ctrl resync ox-connector
  • ucr commit
  • restart the UCS server

But it’s NOT possible to login via IMAP with the customized login template / username.

BUT it’s still possible to login with the default login {{fa_entry_uuid}}{{username}}.

So could it be that the required LDAP query is not adjusted?

In dovecot debug log I see the username change (while using the default login template), but unfortunately I was not able to find out where the change magic is configured to adjust it myself.

Could you please check if it’s a bug and/or point me to the right location where to adjust the username change / ldap query?

UCS: 5.2-5 errata386
OX: 7.10.6

Many Thanks,
Best Regards,
OS