diff --git a/deployments/examples/opencloud_full/.env b/deployments/examples/opencloud_full/.env index b4ebede784..abb6350bee 100644 --- a/deployments/examples/opencloud_full/.env +++ b/deployments/examples/opencloud_full/.env @@ -64,7 +64,7 @@ LOG_LEVEL= # LOG_PRETTY=true # # Define the openCloud storage location. Set the paths for config and data to a local path. -# Ensure that the configuration and data directories are owned by the user and group with ID 1000:1000. +# Ensure that the configuration and data directories are owned by the user and group with ID 1000:1000. # This matches the default user inside the container and avoids permission issues when accessing files. # Note that especially the data directory can grow big. # Leaving it default stores data in docker internal volumes. @@ -267,9 +267,14 @@ KEYCLOAK_ADMIN_PASSWORD= #LDAP=:ldap.yml # Password of LDAP user "cn=admin,dc=opencloud,dc=eu". Defaults to "admin" LDAP_ADMIN_PASSWORD= +# LDAP manager +# login with uid ldapadmin and password +#LDAP_MANAGER=:../shared/config/ldap/docker-compose.yml +# LDAP manager domain. Defaults to "ldap.opencloud.test" +LDAP_MANAGER_DOMAIN= ## IMPORTANT ## # This MUST be the last line as it assembles the supplemental compose files to be used. # ALL supplemental configs must be added here, whether commented or not. # Each var must either be empty or contain :path/file.yml -COMPOSE_FILE=docker-compose.yml${OPENCLOUD:-}${TIKA:-}${DECOMPOSEDS3:-}${DECOMPOSEDS3_MINIO:-}${DECOMPOSED:-}${COLLABORA:-}${MONITORING:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${INBUCKET:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}${KEYCLOAK:-}${LDAP:-} +COMPOSE_FILE=docker-compose.yml${OPENCLOUD:-}${TIKA:-}${DECOMPOSEDS3:-}${DECOMPOSEDS3_MINIO:-}${DECOMPOSED:-}${COLLABORA:-}${MONITORING:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${INBUCKET:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}${KEYCLOAK:-}${LDAP:-}${LDAP_MANAGER:-} diff --git a/deployments/examples/opencloud_full/config/ldap/ldif/10_base.ldif b/deployments/examples/opencloud_full/config/ldap/ldif/10_base.ldif index dc79f07505..e1ce3d0d56 100644 --- a/deployments/examples/opencloud_full/config/ldap/ldif/10_base.ldif +++ b/deployments/examples/opencloud_full/config/ldap/ldif/10_base.ldif @@ -8,6 +8,13 @@ dn: ou=users,dc=opencloud,dc=eu objectClass: organizationalUnit ou: users +dn: cn=admin,dc=opencloud,dc=eu +objectClass: inetOrgPerson +objectClass: person +cn: admin +sn: admin +uid: ldapadmin + dn: ou=groups,dc=opencloud,dc=eu objectClass: organizationalUnit ou: groups diff --git a/deployments/examples/shared/config/ldap/docker-compose.yml b/deployments/examples/shared/config/ldap/docker-compose.yml index dc88287827..05fa9a0613 100644 --- a/deployments/examples/shared/config/ldap/docker-compose.yml +++ b/deployments/examples/shared/config/ldap/docker-compose.yml @@ -10,6 +10,7 @@ services: environment: LDAP_HOST: ldap-server LDAP_PORT: 1389 + LDAP_LOGIN_OBJECTCLASS: "inetOrgPerson" APP_URL: "https://${LDAP_MANAGER_DOMAIN:-ldap.opencloud.test}" labels: - "traefik.enable=true"