fix ocis_ldap admin user

This commit is contained in:
Michael Barz
2022-07-20 09:20:49 +02:00
parent 7c96ba41d4
commit c5b00a645d
2 changed files with 7 additions and 0 deletions

View File

@@ -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"

View File

@@ -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