Local users login with IMAP credentials is not working properly
Chưa có ai nhận issue này.
- #20757 của @sshambar — đã đóng, không merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- authentication
Hướng nghiên cứu
Start by reproducing the failure with Nextcloud 14.0.4, user_external, and IMAP authentication, then inspect requests to /ocs/v2.php/apps/notifications/api/v2/notifications alongside the Nextcloud and Dovecot logs. Compare the initial login with later browser and desktop-client requests; done means the reported logout and subsequent authentication failure are resolved and the behavior is covered by a regression test.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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: [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.
- Ngôn ngữ chính
- JavaScript
- Star
- 121
- Fork
- 73
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextcloud/user_external
-
0. Needs triage bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nextcloud/user_external#298 · 1 reaction ·
-
NC 35 compatibilityĐang mở0. Needs triage enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
nextcloud/user_external#311 · 2 bình luận · 4 reaction ·
-
0. Needs triage bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
nextcloud/user_external#310 · 2 bình luận ·
-
v4.0.0 released!Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
nextcloud/user_external#295 · 3 reaction ·
-
0. Needs triage bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
nextcloud/user_external#281 · 6 bình luận · 3 reaction ·
Tất cả issue của nextcloud/user_external
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 67/100
Morni-Team/pkmessenger#44 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status/needs-triage type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
PKU-YuanGroup/OpenAI4S#218 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
debpalash/VoiceStudio#2678 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 3 ngày