Skip to content

WebDAV Authentication backend inverts authentication #14323

@johanehnberg

Description

@johanehnberg

Setup: two ownCloud 8 servers from opensuse repository on Ubuntu 14.04. The first is the reference server with valid SSL, the second a test server in a virtual machine. Both use MySQL as database.

On the second server, enabling the WebDAV Authentication app to point at the first one gives confusing results when logging in to the second server:

  • Logging in with local (database) credentials still works
  • Logging in with proper remote (reference server via WebDAV) credentials fails as if you mistyped your password although you typed properly, and log shows:
    Login failed: 'testuser' Remote IP: 127.0.0.1', X-Forwarded-For: ''
  • Logging in with non-existing remote credentials, including remote maching user name but mistyped password, logs in and creates a data directory, but does not show up in the user list. Logs show:
    Adding default user backend WEBDAVAUTH
    copying skeleton for efgwegw from...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions