Kariton
February 29, 2020, 6:00pm
#1
hey ho,
maybe someone can help me. after some tests i cant solve it… i’ve got some trouble with nextcloud and freeipa as ldap(s) backend.
user auth. is working, groups are present. but if a user decide to share content with groups or users it’s not possible. is here someone with a working setup and can give me some advice on the ‘Advanced’ and ‘experts’ tab. expecialy “Group-Member association” and “UUID override” should solve my problem. the setup is a basic standart deployment of NC and freeipa.there is not much information out there. i have checked the freeipa HOWTO about owncloud without succses. on github there is a report about problems with password change - after they changed the “UUID user-override” to ‘uid’ that was solved. it looks like something like that. thank you in advance
https://pastebin.com/L11HxHCG - here is the LDAP config. i have no error’s in freeipa or NC logs.
notice "| ldapGidNumber | gidNumber " that was auto discovered. but the suggest (FreeIPA HOWTO) “uniqueMember” changed nothing.
p.s. if u need more infos, i’ll provide as much as possible.
related links:
https://docs.nextcloud.com/server/stable/admin_manual/configuration_user/user_auth_ldap.html?highlight=ldap
https://www.freeipa.org/page/Owncloud_Authentication_against_FreeIPA
https://poorlydocumented.com/2017/02/integrating-nextcloud-11-with-freeipa-4/
Kariton
February 29, 2020, 11:55pm
#2
Found something with some other settings:
Exception: Call to undefined method OCA\Maps\Service\PhotofilesService::safeDeleteByFolderIdUserId()
/var/www/nextcloud/lib/private/AppFramework/App.php - line 125:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main()
<<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke()
/var/www/nextcloud/lib/private/Route/Router.php - line 299:
call_user_func()
/var/www/nextcloud/ocs/v1.php - line 82:
OC\Route\Router->match()
/var/www/nextcloud/ocs/v2.php - line 24:
require_once("/var/www/nextcloud/ocs/v1.php")
Verursacht durchError: Call to undefined method OCA\Maps\Service\PhotofilesService::safeDeleteByFolderIdUserId()
/var/www/nextcloud/lib/private/legacy/hook.php - line 111:
OCA\Maps\Hooks\FileHooks->preUnShare()
/var/www/nextcloud/lib/private/Share20/LegacyHooks.php - line 63:
OC_Hook::emit()
/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 260:
OC\Share20\LegacyHooks->preUnshare()
/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 235:
Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()
/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 73:
Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
/var/www/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php - line 70:
Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
/var/www/nextcloud/lib/private/Share20/Manager.php - line 1121:
OC\EventDispatcher\SymfonyAdapter->dispatch()
/var/www/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php - line 369:
OC\Share20\Manager->deleteShare()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:
OCA\Files_Sharing\Controller\ShareAPIController->deleteShare()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/nextcloud/lib/private/AppFramework/App.php - line 125:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main()
<<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke()
/var/www/nextcloud/lib/private/Route/Router.php - line 299:
call_user_func()
/var/www/nextcloud/ocs/v1.php - line 82:
OC\Route\Router->match()
/var/www/nextcloud/ocs/v2.php - line 24:
require_once("/var/www/nextcloud/ocs/v1.php")
Kariton
February 29, 2020, 11:59pm
#3
Situation:
LDAP user share a folder with other user. after that, he cant delete that share.
group shares work.