Wrong (malformed) external storage credentials saved in oc_storages_credentials
#24600
Labels
Milestone
oc_storages_credentials
#24600
Hello!
I am using Nextcloud 20.0.2 (docker) with LDAP + external storage and several external SMB mounts (all with "credentials saved in database" enabled).
It seems that the credentials saved in the corrspondeing table (
oc_storages_credentials) are wrong and therefore all SMB shares are showing errors.When I initially add the external storage SMB mounts in the settings and then a user logs in the first time, the SMB shares work (with the correct login) which gets correctly saved in the DB.
Afterwards I can find one single entry on the
oc_storages_credentials-tableHowever, when I (as an admin) navigate to:
https://cloud.example.org/settings/usersthe tableoc_storages_credentialsgets (pre)populated with all the users (and some random credentials) - this also includes all users who weren´t logged-in yet. When the user logs in afterwards the credentials entry is already there and does not get updated.Steps to reproduce
oc_storages_credentials- it should be empty/settings/users)oc_storages_credentials- there is an entry for every user nowExpected behaviour
oc_storages_credentialson "user list settings page"Actual behaviour
password::logincredentials/credentialsentries are getting deployed initially from the admin user ...Debugging results
In the file
Files_External\Lib\Auth\Password\LoginCredentials.php:When I output the
$sessionCredentials->getLoginName()on each request I get two results:Bugfix (Dirty)
When I change
line 77 in Files_External\Lib\Auth\Password\LoginCredentials.php:from
if (is_null($credentials))toif (\OC::$server->getUserSession()->isLoggedIn())it works correctly.With thix change the credentials gets stored on every request and therefore the wrong (initialized) ones getting overwritten.
It looks like there is some impersonation going on here.
Server configuration
I am using this docker image (no modifications): https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/full/fpm-alpine
Operating system: Docker on Ubuntu 20.04.1 LTS
Web server: nginx with php-fpm
Database: mariadb 10.5 as docker container
PHP version: 7php .4
Nextcloud version: 20.0.2
Updated from an older Nextcloud/ownCloud or fresh install: updated from nextcloud 18.0.11 -> 19.0 -> 20.0.2 (in one go)
Where did you install Nextcloud from:
Signing status:
Signing status
List of activated apps:
App list
Enabled:
Disabled:
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: SMB
Are you using encryption: no encryption at rest
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser: Chromoum 87
Operating system: macOS 10.15.7
Logs
In the nextcloud log section you can find the log of the initial user login who gets "denied" on the SMB storage due to wrong stored credentials.
Nextcloud log (data/nextcloud.log)
Nextcloud log
{"reqId":"Dlfg3EFwBgyAHSa1S5Ic","level":3,"time":"2020-12-07T21:25:50+00:00","remoteAddr":"192.168.144.3","user":"thomas.stagl","app":"no app in context","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/2?testOnly=false","message":{"Exception":"Icewind\\SMB\\Exception\\ForbiddenException","Message":"Invalid request for / (ForbiddenException)","Code":1,"Trace":[{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":66,"function":"fromMap","class":"Icewind\\SMB\\Exception\\Exception","type":"::","args":[{"1":"Icewind\\SMB\\Exception\\ForbiddenException","2":"Icewind\\SMB\\Exception\\NotFoundException","13":"Icewind\\SMB\\Exception\\ForbiddenException","16":"Icewind\\SMB\\Exception\\FileInUseException","17":"Icewind\\SMB\\Exception\\AlreadyExistsException","20":"Icewind\\SMB\\Exception\\InvalidTypeException","21":"Icewind\\SMB\\Exception\\InvalidTypeException","22":"Icewind\\SMB\\Exception\\InvalidArgumentException","28":"Icewind\\SMB\\Exception\\OutOfSpaceException","39":"Icewind\\SMB\\Exception\\NotEmptyException","103":"Icewind\\SMB\\Exception\\ConnectionAbortedException","104":"Icewind\\SMB\\Exception\\ConnectionResetException","110":"Icewind\\SMB\\Exception\\TimedOutException","111":"Icewind\\SMB\\Exception\\ConnectionRefusedException","112":"Icewind\\SMB\\Exception\\HostDownException","113":"Icewind\\SMB\\Exception\\NoRouteToHostException"},1,"/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":78,"function":"handleError","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":294,"function":"testResult","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["*** sensitive parameter replaced ***","smb://server1.intern.laab.gv.at/Gemeinde/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":306,"function":"getxattr","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["smb://server1.intern.laab.gv.at/Gemeinde/","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":64,"function":"getAttribute","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":83,"function":"stat","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":113,"function":"getSize","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":188,"function":"stat","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/"]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":336,"function":"getFileInfo","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["/"]},{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":[""]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":703,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/MountConfig.php","line":264,"function":"test","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/StoragesController.php","line":258,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/UserGlobalStoragesController.php","line":124,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"show","class":"OCA\\Files_External\\Controller\\UserGlobalStoragesController","type":"->","args":[2,"*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\UserGlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"id":"2","_route":"files_external.user_global_storages.show"}]},{"file":"/var/www/html/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/userglobalstorages/2"]},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php","Line":30,"CustomMessage":"Error while getting file info"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.2.2"} {"reqId":"TGfAbJwlIgPJILJHMH09","level":3,"time":"2020-12-07T21:25:50+00:00","remoteAddr":"192.168.144.3","user":"thomas.stagl","app":"no app in context","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/5?testOnly=false","message":{"Exception":"Icewind\\SMB\\Exception\\ForbiddenException","Message":"Invalid request for / (ForbiddenException)","Code":1,"Trace":[{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":66,"function":"fromMap","class":"Icewind\\SMB\\Exception\\Exception","type":"::","args":[{"1":"Icewind\\SMB\\Exception\\ForbiddenException","2":"Icewind\\SMB\\Exception\\NotFoundException","13":"Icewind\\SMB\\Exception\\ForbiddenException","16":"Icewind\\SMB\\Exception\\FileInUseException","17":"Icewind\\SMB\\Exception\\AlreadyExistsException","20":"Icewind\\SMB\\Exception\\InvalidTypeException","21":"Icewind\\SMB\\Exception\\InvalidTypeException","22":"Icewind\\SMB\\Exception\\InvalidArgumentException","28":"Icewind\\SMB\\Exception\\OutOfSpaceException","39":"Icewind\\SMB\\Exception\\NotEmptyException","103":"Icewind\\SMB\\Exception\\ConnectionAbortedException","104":"Icewind\\SMB\\Exception\\ConnectionResetException","110":"Icewind\\SMB\\Exception\\TimedOutException","111":"Icewind\\SMB\\Exception\\ConnectionRefusedException","112":"Icewind\\SMB\\Exception\\HostDownException","113":"Icewind\\SMB\\Exception\\NoRouteToHostException"},1,"/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":78,"function":"handleError","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":294,"function":"testResult","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["*** sensitive parameter replaced ***","smb://server1.intern.laab.gv.at/MFL/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":306,"function":"getxattr","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["smb://server1.intern.laab.gv.at/MFL/","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":64,"function":"getAttribute","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":83,"function":"stat","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":113,"function":"getSize","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":188,"function":"stat","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/"]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":336,"function":"getFileInfo","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["/"]},{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":[""]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":703,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/MountConfig.php","line":264,"function":"test","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/StoragesController.php","line":258,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/UserGlobalStoragesController.php","line":124,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"show","class":"OCA\\Files_External\\Controller\\UserGlobalStoragesController","type":"->","args":[5,"*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\UserGlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"id":"5","_route":"files_external.user_global_storages.show"}]},{"file":"/var/www/html/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/userglobalstorages/5"]},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php","Line":30,"CustomMessage":"Error while getting file info"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.2.2"} {"reqId":"K0Qai5Oxs2Nq9GN1YYrB","level":3,"time":"2020-12-07T21:25:50+00:00","remoteAddr":"192.168.144.3","user":"thomas.stagl","app":"no app in context","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/3?testOnly=false","message":{"Exception":"Icewind\\SMB\\Exception\\ForbiddenException","Message":"Invalid request for / (ForbiddenException)","Code":1,"Trace":[{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":66,"function":"fromMap","class":"Icewind\\SMB\\Exception\\Exception","type":"::","args":[{"1":"Icewind\\SMB\\Exception\\ForbiddenException","2":"Icewind\\SMB\\Exception\\NotFoundException","13":"Icewind\\SMB\\Exception\\ForbiddenException","16":"Icewind\\SMB\\Exception\\FileInUseException","17":"Icewind\\SMB\\Exception\\AlreadyExistsException","20":"Icewind\\SMB\\Exception\\InvalidTypeException","21":"Icewind\\SMB\\Exception\\InvalidTypeException","22":"Icewind\\SMB\\Exception\\InvalidArgumentException","28":"Icewind\\SMB\\Exception\\OutOfSpaceException","39":"Icewind\\SMB\\Exception\\NotEmptyException","103":"Icewind\\SMB\\Exception\\ConnectionAbortedException","104":"Icewind\\SMB\\Exception\\ConnectionResetException","110":"Icewind\\SMB\\Exception\\TimedOutException","111":"Icewind\\SMB\\Exception\\ConnectionRefusedException","112":"Icewind\\SMB\\Exception\\HostDownException","113":"Icewind\\SMB\\Exception\\NoRouteToHostException"},1,"/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":78,"function":"handleError","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":294,"function":"testResult","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["*** sensitive parameter replaced ***","smb://server1.intern.laab.gv.at/Feuerwehr/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":306,"function":"getxattr","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["smb://server1.intern.laab.gv.at/Feuerwehr/","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":64,"function":"getAttribute","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":83,"function":"stat","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":113,"function":"getSize","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":188,"function":"stat","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/"]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":336,"function":"getFileInfo","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["/"]},{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":[""]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":703,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/MountConfig.php","line":264,"function":"test","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/StoragesController.php","line":258,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/UserGlobalStoragesController.php","line":124,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"show","class":"OCA\\Files_External\\Controller\\UserGlobalStoragesController","type":"->","args":[3,"*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\UserGlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"id":"3","_route":"files_external.user_global_storages.show"}]},{"file":"/var/www/html/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/userglobalstorages/3"]},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php","Line":30,"CustomMessage":"Error while getting file info"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.2.2"} {"reqId":"rJZ0VGuGoLnqEhgskcGM","level":3,"time":"2020-12-07T21:25:50+00:00","remoteAddr":"192.168.144.3","user":"thomas.stagl","app":"no app in context","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":{"Exception":"Icewind\\SMB\\Exception\\ForbiddenException","Message":"Invalid request for /thomas.stagl (ForbiddenException)","Code":1,"Trace":[{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":66,"function":"fromMap","class":"Icewind\\SMB\\Exception\\Exception","type":"::","args":[{"1":"Icewind\\SMB\\Exception\\ForbiddenException","2":"Icewind\\SMB\\Exception\\NotFoundException","13":"Icewind\\SMB\\Exception\\ForbiddenException","16":"Icewind\\SMB\\Exception\\FileInUseException","17":"Icewind\\SMB\\Exception\\AlreadyExistsException","20":"Icewind\\SMB\\Exception\\InvalidTypeException","21":"Icewind\\SMB\\Exception\\InvalidTypeException","22":"Icewind\\SMB\\Exception\\InvalidArgumentException","28":"Icewind\\SMB\\Exception\\OutOfSpaceException","39":"Icewind\\SMB\\Exception\\NotEmptyException","103":"Icewind\\SMB\\Exception\\ConnectionAbortedException","104":"Icewind\\SMB\\Exception\\ConnectionResetException","110":"Icewind\\SMB\\Exception\\TimedOutException","111":"Icewind\\SMB\\Exception\\ConnectionRefusedException","112":"Icewind\\SMB\\Exception\\HostDownException","113":"Icewind\\SMB\\Exception\\NoRouteToHostException"},1,"/thomas.stagl"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":78,"function":"handleError","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["/thomas.stagl"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":294,"function":"testResult","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["*** sensitive parameter replaced ***","smb://server1.intern.laab.gv.at/Home/thomas.stagl"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":306,"function":"getxattr","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["smb://server1.intern.laab.gv.at/Home/thomas.stagl","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":64,"function":"getAttribute","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/thomas.stagl","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":83,"function":"stat","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":113,"function":"getSize","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":188,"function":"stat","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/thomas.stagl"]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":336,"function":"getFileInfo","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["/thomas.stagl"]},{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":[""]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":703,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/MountConfig.php","line":264,"function":"test","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/StoragesController.php","line":258,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/UserGlobalStoragesController.php","line":124,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"show","class":"OCA\\Files_External\\Controller\\UserGlobalStoragesController","type":"->","args":[1,"*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\UserGlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"id":"1","_route":"files_external.user_global_storages.show"}]},{"file":"/var/www/html/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/userglobalstorages/1"]},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php","Line":30,"CustomMessage":"Error while getting file info"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.2.2"} {"reqId":"9UZpPoBEZxMxTnnW1zhJ","level":3,"time":"2020-12-07T21:25:50+00:00","remoteAddr":"192.168.144.3","user":"thomas.stagl","app":"no app in context","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/6?testOnly=false","message":{"Exception":"Icewind\\SMB\\Exception\\ForbiddenException","Message":"Invalid request for / (ForbiddenException)","Code":1,"Trace":[{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":66,"function":"fromMap","class":"Icewind\\SMB\\Exception\\Exception","type":"::","args":[{"1":"Icewind\\SMB\\Exception\\ForbiddenException","2":"Icewind\\SMB\\Exception\\NotFoundException","13":"Icewind\\SMB\\Exception\\ForbiddenException","16":"Icewind\\SMB\\Exception\\FileInUseException","17":"Icewind\\SMB\\Exception\\AlreadyExistsException","20":"Icewind\\SMB\\Exception\\InvalidTypeException","21":"Icewind\\SMB\\Exception\\InvalidTypeException","22":"Icewind\\SMB\\Exception\\InvalidArgumentException","28":"Icewind\\SMB\\Exception\\OutOfSpaceException","39":"Icewind\\SMB\\Exception\\NotEmptyException","103":"Icewind\\SMB\\Exception\\ConnectionAbortedException","104":"Icewind\\SMB\\Exception\\ConnectionResetException","110":"Icewind\\SMB\\Exception\\TimedOutException","111":"Icewind\\SMB\\Exception\\ConnectionRefusedException","112":"Icewind\\SMB\\Exception\\HostDownException","113":"Icewind\\SMB\\Exception\\NoRouteToHostException"},1,"/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":78,"function":"handleError","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php","line":294,"function":"testResult","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["*** sensitive parameter replaced ***","smb://server1.intern.laab.gv.at/Gemeindeverwaltung/"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":306,"function":"getxattr","class":"Icewind\\SMB\\Native\\NativeState","type":"->","args":["smb://server1.intern.laab.gv.at/Gemeindeverwaltung/","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":64,"function":"getAttribute","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/","system.dos_attr.*"]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php","line":83,"function":"stat","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php","line":113,"function":"getSize","class":"Icewind\\SMB\\Native\\NativeFileInfo","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":188,"function":"stat","class":"Icewind\\SMB\\Native\\NativeShare","type":"->","args":["/"]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":336,"function":"getFileInfo","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["/"]},{"file":"/var/www/html/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":[""]},{"file":"/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php","line":703,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/lib/MountConfig.php","line":264,"function":"test","class":"OCA\\Files_External\\Lib\\Storage\\SMB","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/StoragesController.php","line":258,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/files_external/lib/Controller/UserGlobalStoragesController.php","line":124,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"show","class":"OCA\\Files_External\\Controller\\UserGlobalStoragesController","type":"->","args":[6,"*** sensitive parameter replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files_External\\Controller\\UserGlobalStoragesController"},"show"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files_External\\Controller\\UserGlobalStoragesController","show",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"id":"6","_route":"files_external.user_global_storages.show"}]},{"file":"/var/www/html/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files_external/userglobalstorages/6"]},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php","Line":30,"CustomMessage":"Error while getting file info"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","version":"20.0.2.2"}The text was updated successfully, but these errors were encountered: