Login with IMAP backend doesn't keep domain on IMAP login attempts since last upgrade
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- authentication
Research direction
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.
Written by the indexing model from the issue text.
Description
Steps to reproduce
- Configure IMAP backend
array (
'class' => '\\OCA\\UserExternal\\IMAP',
'arguments' => array (
0 => 'imap.domaine.org',
1 => 993,
2 => 'ssl',
),
- 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
- Dominant language
- JavaScript
- Stars
- 121
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/user_external
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/user_external#298 · 1 reaction ·
-
NC 35 compatibilityOpen0. Needs triage enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
nextcloud/user_external#311 · 2 comments · 4 reactions ·
-
v4.0.0 released!Open
Difficulty 1/5 Under an hour Newbie friendliness 20/100
nextcloud/user_external#295 · 3 reactions ·
-
0. Needs triage bug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
nextcloud/user_external#281 · 6 comments · 3 reactions ·
-
two IMAP serversOpen
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
nextcloud/user_external#278 · 1 reaction ·
All issues in nextcloud/user_external
Similar issues
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
solana-foundation/solana-com#2245 ·
Maintainers usually reply within 1 day
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
TAMULib/fw-registry#543 ·
Maintainers usually reply within 1 day
-
security
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
FortAwesome/Font-Awesome#21688 ·