-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't update a file in a shared folder from a external SMB storage with Collabora Online #6802
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: external storage
feature: sharing
Comments
I have a test platform where we can reproduce this bug. If someone is interested I could create an account on this platform to test or debug |
This was referenced Oct 2, 2018
skjnldsv
added
the
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
label
Jun 6, 2019
As there is no feedback since a while I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: external storage
feature: sharing
Steps to reproduce
AD integration and SMB external storages needed
Two users of the Active Directory : A and B
A is member of "gr_df", B is member of "gr_drh", A and B members of group "members"
Folders on the Windows server (host) :
Nextcloud external storages configuration :
Access to the share "\host\Organisme" restricted to the group "members"
Authentication : Login credentials, save in database
So when connected in Nextcloud :
I think it should be a frequent structure of folders and shares in many companies. DF and DRH are different folders for the different directions of the company.
Then :
Expected behaviour
B should succeed in saving budget.ods
While editing the file budget.ods, B is using the rights of A who shared the folder "Projet budget" which contains this file, because of the "Login credentials, save in database" type of authentication.
Actual behaviour
Error message : "Document cannot be saved. Check your permissions or contact the storage server administrator."
Nextcloud log :
OCP\Files\StorageNotAvailableException
(see logs below)Strangely, it seems it doesn't work because the "Organisme" external storage is created for the group "members" and because B is a member of this group.
It works if B is not a member of the "members" group (but it doesn't make sense obviously, all the employees of the company have to be members of this group).
Note that it works too if I create another external storage :
Access to the share "\host\Organisme\DF" for group "gr_df"
Login credentials, save in database
But if I do that I have to create as many external storages as subfolders of the "Organisme" folder
General server configuration
Operating system:
Linux 3.10.0-514.6.2.el7.x86_64 #1 SMP Thu Feb 23 03:04:39 UTC 2017 x86_64
Web server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.1.5 (fpm-fcgi)
Database: mysql 5.5.52
PHP version: 7.1.5
LibreOffice Online version: Collabora Online 2.1.3
Windows server: Windows server 2012 R2
PHP-modules loaded
Nextcloud configuration
Nextcloud version: 12.0.2 - 12.0.2.0
Updated from an older Nextcloud/ownCloud or fresh install: regularly updated since ownCloud 8
Where did you install Nextcloud from:
tar.gz from web site
Are you using external storage, if yes which one:
[0] => \OC\Files\Storage\Local
[10] => \OCA\Files_External\Lib\Storage\SMB
Are you using encryption: no
Are you using an external user-backend, if yes which one:
OpenLdap + Active Directory
Signing status
No errors have been found.
Enabled apps
Disabled apps
Content of config/config.php
LDAP config s00
LDAP config s01 : AD
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Operating system: Linux (Kubuntu 17.04, Mint), Windows 10
Logs
Web server error log
Nothing in particular
Nextcloud log (data/nextcloud.log)
Browser log
Nothing in particular
The text was updated successfully, but these errors were encountered: