Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Login with IMAP backend doesn't keep domain on IMAP login attempts since last upgrade

Đang mở
#310 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
authentication

Hướng nghiên cứu

Start by locating the IMAP authentication backend and the code that handles the username and stripdomain option. Reproduce the issue with the provided configuration and a login using [email protected]. Done means the IMAP backend attempts authentication with the complete address, without the trailing @ behavior when stripdomain is false.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

0. Needs triage bug
Steps to reproduce
  1. Configure IMAP backend
    array (
      'class' => '\\OCA\\UserExternal\\IMAP',
      'arguments' => array (
          0 => 'imap.domaine.org',
          1 => 993,
          2 => 'ssl',
),
  1. login as [email protected]
Expected behaviour

User_backend should use [email protected] as IMAP login

Actual behaviour

user_backend strip the domain name and attempts to login as "myuser". If I set explicitly stripdomain to false, it tries to login as "myuser@".

Affected Authentication backend

IMAP

Server configuration

User External App version: (see Nextcloud apps page)
4.0

Operating system:
Nextcloud on official docker

Nextcloud version: (see Nextcloud admin page)
34.0.3.2

Updated from an older Nextcloud/ownCloud or fresh install:
Updated from older versions

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/user_external

Tất cả issue của nextcloud/user_external

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.