Skip to content

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

Description

@nahuelange

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 myuser@domaine.org

Expected behaviour

User_backend should use myuser@domaine.org 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions