Skip to content

Commit

Permalink
Merge pull request #4235 from owncloud/fix-ldap-admin
Browse files Browse the repository at this point in the history
[docs-only] fix ocis_ldap admin user
  • Loading branch information
micbar authored Jul 20, 2022
2 parents d3b952f + c5b00a6 commit 371b85f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployments/examples/ocis_ldap/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions docs/ocis/deployment/ocis_ldap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 371b85f

Please sign in to comment.