docker-openldap-fusiondirectory icon indicating copy to clipboard operation
docker-openldap-fusiondirectory copied to clipboard

Nextcloud schema doesn't install

Open Marsu31 opened this issue 1 year ago • 3 comments

Summary

Nextcloud schema doesn't install.

Steps to reproduce

Set PLUGIN_NEXTCLOUD to "TRUE". Try to enable Nexctloud in the GUI. It gives the error :

Error: Invalid syntax - <b>objectClass: nextcloudAccount</b> (objectClass: value #3 invalid per syntax, [...]

I logged in the LDAP with ApacheDirectoryStudio and found no schema for Nextcloud.

What is the expected correct behavior?

Presence of Nextcloud schema which adds the nextcloudAccount objectClass.

Relevant logs and/or screenshots

Error: Invalid syntax - <b>objectClass: nextcloudAccount</b> (objectClass: value #3 invalid per syntax, [...]

Environment

Hardware : RPi 4B OS : DietPi v8.12.1 (Debian Bullseye aarch64) Docker compose 2.14.1 (platform linux/arm64/v8) Image : tiredofit/openldap-fusiondirectory:2.6-1.4-latest

Possible fixes

The file install/assets/custom-scripts/001-install-fusiondirectory.sh at line 265 has a mistake :

PLUGIN_NEXTCLOUD=${PLUGIN_KOPANO:-"FALSE"}

instead of :

PLUGIN_KOPANO=${PLUGIN_KOPANO:-"FALSE"}

Marsu31 avatar Dec 20 '22 08:12 Marsu31

I created a PR and don't know how to attach it to this issue. Sorry.

Marsu31 avatar Dec 20 '22 10:12 Marsu31

No worries, thanks for the legwork of getting it this far! I believe if you type the # key it should pop up something to show a list of issues. Otherwise great first issue. Let's get it merged in.

tiredofit avatar Dec 20 '22 14:12 tiredofit

Tagged as 2.6-1.4-7.1.40

tiredofit avatar Dec 20 '22 14:12 tiredofit