⚠️ Before posting ⚠️
Steps to reproduce
- Nextcloud server with LDAP/AD user backend, internal username = UUID (
ldapExpertUsernameAttr empty), users log in with their sAMAccountName.
- Install Nextcloud Android 35.0.0 and log in via login flow with the
sAMAccountName.
- Use the app over a network that is not whitelisted for brute-force protection (e.g. mobile data) and open a few files.
- Watch
nextcloud.log.
Impact
- The failed logins trigger brute-force throttling →
TooManyRequests on WebDAV → the app becomes unusable on mobile networks.
- With
password_policy (maximumLoginAttempts), accounts get disabled → HTTP 503 → the app shows "maintenance mode". Our hoster counted 137 automatic account deactivations across six accounts within ten days.
- Removing the account and setting it up from scratch does not help: a freshly issued token fails on the very first capabilities request.
Environment
- App: 35.0.0 (Google Play) fails; 34.1.1 (APK from GitHub releases) works
- Server: 34.0.4.1 (also reported with server 35.0.0)
- Devices:
Related
Server-side report with further details: nextcloud/server#64555
Expected behaviour
The capabilities request uses the login name (as the token was issued for it), like 34.1.1 does.
Actual behaviour
{"level":3,"url":"/ocs/v2.php/cloud/capabilities","message":"App token login name does not match","userAgent":"okhttp/5.5.0","version":"34.0.4.1","data":{"tokenLoginName":"jdoe","sessionLoginName":"AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE"}}
Android version
Android 16 and Android 13
Device brand and model
Samsung Galaxy Tab S9 FE+ 5G, Android 16, managed via Android Enterprise; the 34.1.1 comparison test was done on Hotwav Cyber 15, Android 13
Stock or custom OS?
Stock
Nextcloud android app version
- App: 35.0.0 (Google Play) fails; 34.1.1 (APK from GitHub releases) works
Nextcloud server version
- Server: 34.0.4.1 (also reported with server 35.0.0)
Using a reverse proxy?
No
Android logs
No response
Server error logs
Additional information
No response
Steps to reproduce
ldapExpertUsernameAttrempty), users log in with theirsAMAccountName.sAMAccountName.nextcloud.log.Impact
TooManyRequestson WebDAV → the app becomes unusable on mobile networks.password_policy(maximumLoginAttempts), accounts get disabled → HTTP 503 → the app shows "maintenance mode". Our hoster counted 137 automatic account deactivations across six accounts within ten days.Environment
Related
Server-side report with further details: nextcloud/server#64555
Expected behaviour
The capabilities request uses the login name (as the token was issued for it), like 34.1.1 does.
Actual behaviour
{"level":3,"url":"/ocs/v2.php/cloud/capabilities","message":"App token login name does not match","userAgent":"okhttp/5.5.0","version":"34.0.4.1","data":{"tokenLoginName":"jdoe","sessionLoginName":"AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE"}}
Android version
Android 16 and Android 13
Device brand and model
Samsung Galaxy Tab S9 FE+ 5G, Android 16, managed via Android Enterprise; the 34.1.1 comparison test was done on Hotwav Cyber 15, Android 13
Stock or custom OS?
Stock
Nextcloud android app version
Nextcloud server version
Using a reverse proxy?
No
Android logs
No response
Server error logs
Additional information
No response