-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Affected apps
Nextcloud-14.0.4 (at least)
user_external
Steps to reproduce
- Create a local user (in my case [email protected])
- Enable user_external and configure IMAP auth
- Login with IMAP credentials
Actual behaviour (modified user names and IPs)
I enabled IMAP authentication for my (locally existing) users.
Initial login with IMAP credentials is fine:
Dec 15 22:49:08 srv-mail-1 dovecot: imap-login: Login: user=[email protected], method=PLAIN, rip=192.168.0.201, lip=192.168.0.202, mpid=4153, TLS, session=<kLF3hBZ9bq/AqADJ>
Dec 15 22:49:08 srv-mail-1 dovecot: imap([email protected]): Logged out in=15 out=436
After several minutes (even while using / browsing) you're getting logged out. The logfile contains the following error:
{"reqId":"bAkH7FHnR1VCysvgycVc","level":2,"time":"2018-12-15T21:54:14+00:00","remoteAddr":"a.b.c.d","user":"[email protected]","app":"core","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Login failed: '[email protected]' (Remote IP: 'a.b.c.d')","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","version":"14.0.4.2"}
However, the mail log is fine - no errors / failed logins but also no login attemps.
The problem is the same/similar when using the desktop client - initial sync is fine but subsequent login attemps fail with the same error.
If I should really collect all the information requested in this template please let me know - thanks.