Nextcloud version: 20.0.1
Operating system and version: Debian 10.6
Apache or nginx version: Apache/2.4.38 (Debian)
PHP version: 7.4.12
The issue you are facing:
The External Storage is not available for some users, although they have the permission to use it.
A test with one of the denied user and smbclient on the nextcloud server has access to the share.
Also if the option “Safe credentials in session” is selected, the access works.
Only with “Save credentials in database” the access does not work.
Is it possible to reset the stored credentials?
Is this the first time you’ve seen this error?: Y
Steps to replicate it:
The behavior is not reproducible. If a new user is created in LDAP with the same permissions, the access works.
The output of your Nextcloud log in Admin > Logging:
Warning no app in context OCP\Files\StorageAuthException: Storage unauthorized. Invalid request for / (ForbiddenException) 2020-11-13T11:17:40+0100 Warning no app in context External storage not available: Storage unauthorized. Invalid request for / (ForbiddenException) 2020-11-13T11:17:40+0100 Error no app in context Icewind\SMB\Exception\ForbiddenException: Invalid request for / (ForbiddenException) 2020-11-13T11:17:40+0100
The output of your Apache/nginx/system log in
No errors are logged. Only http 200 Status