smb login improperly escapes username
Chưa có ai nhận issue này.
Đá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
- 30/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, backend
Hướng nghiên cứu
Start with the SMB login backend of user_external and reproduce the failure using the documented Samba usernames, especially the address containing "@". Compare the failing login with the working "myuser" case; the issue is done when the documented external login succeeds for "[email protected]" without regressing the simpler username.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Affected apps
This afflicts the smb login backend of user_external. It also applies to external storage so I'm not sure where to post this.
Expected behaviour
Use the Samba user "[email protected]" to login to NextCloud.
Actual behaviour
Login fails because the username is improperly escaped (I assume) and so the "@" causes it to fail. The login works fine with the (separately added) user "myuser."
Steps to reproduce
- Set up Samba
smbpasswd -a "[email protected]",smbpasswd -a "myuser"- Set password
- Try login from connected NextCloud. "myuser" works, "[email protected]" doesn't.
Server configuration
NGINX: nginx/1.10.3
PHP
Version: 7.1.2
Memory Limit: 512.0 MB
Max Execution Time: 10800
Upload max size: 10.0 GB
Database
Type: mysql
Version: 10.1.21
Size:
NextCloud version: 11.0.2.7
Logs
Web server error log
Nothing - though that might be down to container settings
ownCloud log (data/owncloud.log)
{"reqId":"t13LpmruSZpw0FvUqaQ1","remoteAddr":"192.168.3.87","app":"core","message":"Login failed: '[email protected]' (Remote IP: '192.168.3.87')","level":2,"time":"2017-03-13 12:25:26","method":"POST","url":"\/login?user=myuser%40something.com","user":"--","ver
sion":"11.0.2.7"}
- Ngôn ngữ chính
- JavaScript
- Star
- 120
- Fork
- 72
- 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 · 6 bình luận · 5 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ự
-
change request evaluating
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
sindresorhus/eslint-plugin-unicorn#3907 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Android bug feature/error-tracking react-native team/error-tracking
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PostHog/posthog-js#5310 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Prettier and a format-check CI jobCó thể đã có người làm @ezekielnathaniel070-ai đã nhận hôm nay. Đang mởbackend frontend good first issue Stellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OlaGreat/starbound-realms#98 · 1 bình luận ·
-
Add AudiobookshelfĐang mởapp request good first issue help wanted self-hosted app
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Secra-Solutions/Conector#15 ·
-
Complexity: See issue making label epic good first issue Issue Making: Level 1 P-Feature: Project Info and Page role: back end/devOps role: front end size: 0.25pt time sensitive
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày