Created
October 23, 2020 18:57
-
-
Save liejuntao001/26e0e24113295fb5250c805b93d5e400 to your computer and use it in GitHub Desktop.
Nextcloud share to group fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/nextcloud/server/issues/20617 | |
Problem: | |
Share a folder to LDAP group A | |
Create a new user in LDAP and add to group A | |
The new user login to Nextcloud, the shared folder is not shown, nor in Shares->Pending shares | |
Check the db oc_share, there is no entry for the user | |
There is entry in oc_share for the folder to the group A, and accepted = 0 | |
Fix: | |
Run the SQL | |
UPDATE oc_share SET accepted = 1 WHERE accepted = 0; | |
Result | |
Refresh, the folder is now shown to the new user. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment