From c5b00a645d21dd3fed20a371c104041484fa44c1 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Wed, 20 Jul 2022 09:20:49 +0200 Subject: [PATCH] fix ocis_ldap admin user --- deployments/examples/ocis_ldap/docker-compose.yml | 1 + docs/ocis/deployment/ocis_ldap.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/deployments/examples/ocis_ldap/docker-compose.yml b/deployments/examples/ocis_ldap/docker-compose.yml index 95e54198dee..4fdf99e9cbf 100644 --- a/deployments/examples/ocis_ldap/docker-compose.yml +++ b/deployments/examples/ocis_ldap/docker-compose.yml @@ -67,6 +67,7 @@ services: LDAP_USER_FILTER: "(objectclass=owncloud)" LDAP_USER_OBJECTCLASS: "inetOrgPerson" LDAP_LOGIN_ATTRIBUTES: "uid" + OCIS_ADMIN_USER_ID: "ddc2004c-0977-11eb-9d3f-a793888cd0f8" IDP_LDAP_URI: ldap://ldap-server IDP_LDAP_LOGIN_ATTRIBUTE: "uid" IDP_LDAP_UUID_ATTRIBUTE: "ownclouduuid" diff --git a/docs/ocis/deployment/ocis_ldap.md b/docs/ocis/deployment/ocis_ldap.md index 8ec958451aa..6c6d0e086d3 100644 --- a/docs/ocis/deployment/ocis_ldap.md +++ b/docs/ocis/deployment/ocis_ldap.md @@ -97,6 +97,12 @@ See also [example server setup]({{< ref "preparing_server" >}}) Set your domain for the LDAP manager UI in `LDAP_MANAGER_DOMAIN=`, e.g. `ldap.owncloud.test`. + Grant the oCIS Admin role to the admin user from your LDAP in `OCIS_ADMIN_USER_ID:`. You need to enter the uuid of LDAP user. + + {{< hint type=tip title=Encoding >}} + In the .ldif file in this example, the admin user id is base64 encoded. You need to decode it to make it work. + {{< /hint >}} + Now you have configured everything and can save the file. - Start the docker stack