docker-fusiondirectory
docker-fusiondirectory copied to clipboard
Error while editing configuration
Summary
I have an error while editing the configuration.
I tried first to remove "Force SSL" option on WebService Plugin configuration and the error above get displayed.
Steps to reproduce
Just with simple configuration (use this container with the openldap-fusiondirectory container) : try to disable "Force SSL" from WebService plugins configuration.
What is the expected correct behavior?
No error on FusionDirectory and get "Force SSL" for WebService disable
Relevant logs and/or screenshots
I have no logs for this error even in Debug mode ...
Environment
- Image version / tag: tiredofit/fusiondirectory:latest
- Host OS: Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux
Any logs | docker-compose.yml
version: '3'
services:
fusiondirectory-app:
container_name: fusiondirectory-app
image: tiredofit/fusiondirectory:latest
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:fusion-directory.m1miaa.fr
- traefik.port=80
- traefik.docker.network=nginx-proxy
- traefik.backend=fusiondirectory-app
volumes:
- ./logs:/www/logs
#- ./custom:/assets/fusiondirectory
#- ./plugins-custom:/assets/plugins-custom
environment:
- DEBUG_MODE=FALSE
- VIRTUAL_HOST=fusion-directory.m1miaa.fr
- VIRTUAL_NETWORK=nginx-proxy
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=fusion-directory.m1miaa.fr
- ZABBIX_HOSTNAME=fusiondirectory-app
- ENABLE_ARGONAUT=FALSE
- PLUGIN_AUDIT=TRUE
- PLUGIN_DSA=TRUE
- PLUGIN_LDAPDUMP=TRUE
- PLUGIN_LDAPMANAGER=TRUE
- PLUGIN_MAIL=TRUE
- PLUGIN_PERSONAL=TRUE
- PLUGIN_PPOLICY=TRUE
- PLUGIN_SSH=TRUE
- PLUGIN_SUDO=TRUE
- PLUGIN_WEBSERVICE=TRUE
- LDAP1_HOST=openldap-fusiondirectory-app
- LDAP1_BASE_DN=dc=m1miaa,dc=fr
- LDAP1_ADMIN_DN=cn=admin,dc=m1miaa,dc=fr
- LDAP1_ADMIN_PASS=admin
- LDAP1_PORT=389
- LDAP1_NAME=Production
#- LDAP2_BASE_DN=dc=example,dc=org
#- LDAP2_ADMIN_DN=cn=admin,dc=example,dc=org
#- LDAP2_HOST=openldap-fusiondirectory2
#- LDAP2_ADMIN_PASS=password2
#- LDAP2_NAME=Development
#- LDAP2_TLS=TRUE
networks:
- proxy-tier
restart: always
networks:
proxy-tier:
external:
name: nginx-proxy
Possible fixes
No fix found for the moment
Sounds like it's probably best you get into the LDAP server and flip the setting around with antoher tool like JXPlorer or Apache Directory Studio. Alternatively you can dump your configuration and reimport it again using the slapcat
and slapadd
commands inside the container.
I sadly don't have any experience with the web service component.
I need to use slapcat
and slapadd
on the openldap-fusiondirectory container right ?
After a little search on my openldap-fusiondirectory container i found this :
it's seems like fdWebServicePluginConf is not in my ldap config no ? that can be a problem on my openldap-fusiondirectory container and not my fusiondirectory right ?
Yes that's correct - You'd want to enter into the openldap-fusiondirectory container and install the schemas that way.
Head to /etc/openldap/schema/fusiondirectory
and then type fusiondirectory-insert-schema (your schema you want installed)
. That should get you going. I'm going to assume you have tried the environment variable for openldap-fusiondirectory to install the webservices schema, if you have and its not worked, then we definitely have a bug on our hands.