Self-hosted NC 25 "main_domain" configuration variable breaks DAV for new user
Summary
Using Nextcloud 25 release for self-hosted, new user cannot be added to e/OS device, or cannot connect from any DAV client.
The problem
Please read here: https://community.e.foundation/t/legitimation-issues/52213
User should be able to use DAV from "external" (Internet) devices.
In logs, message is always "login failed" (HTTP 401).
Problem occurs in both new NC25 and migrated from NC24. Users that successfully connected before doesn't seem to be affected (existing token?).
Solutions
Workaround
Emptying "main_domain" variable, as described here https://community.e.foundation/t/legitimation-issues/52213/7 , seems to work fine.
I couldn't see any problem once the variable changed.
Possible fixes
Maybe related to this? https://gitlab.e.foundation/e/infra/ecloud/nextcloud/-/blob/main/patches/002-login-without-domain.patch?ref_type=heads.