diff --git a/extensions/idm/setup.md b/extensions/idm/setup.md index 13c13f8b10f..3a5f728dcd3 100644 --- a/extensions/idm/setup.md +++ b/extensions/idm/setup.md @@ -19,37 +19,29 @@ the users and groups backend (this setup also disables the glauth and accounts s ``` export GRAPH_IDENTITY_BACKEND=ldap -export GRAPH_LDAP_URI=ldaps://localhost:9235 +export LDAP_URI=ldaps://localhost:9235 +export LDAP_INSECURE="true" +export LDAP_USER_BASE_DN="ou=users,o=libregraph-idm" +export LDAP_USER_SCHEMA_ID="ownclouduuid" +export LDAP_USER_SCHEMA_MAIL="mail" +export LDAP_USER_SCHEMA_USERNAME="uid" +export LDAP_USER_OBJECTCLASS="inetOrgPerson" +export LDAP_GROUP_BASE_DN="ou=groups,o=libregraph-idm" +export LDAP_GROUP_SCHEMA_ID="ownclouduuid" +export LDAP_GROUP_SCHEMA_MAIL="mail" +export LDAP_GROUP_SCHEMA_GROUPNAME="member" +export LDAP_GROUP_OBJECTCLASS="groupOfNames" export GRAPH_LDAP_BIND_DN="uid=libregraph,ou=sysusers,o=libregraph-idm" export GRAPH_LDAP_BIND_PASSWORD=idm -export GRAPH_LDAP_USER_EMAIL_ATTRIBUTE=mail -export GRAPH_LDAP_USER_NAME_ATTRIBUTE=uid -export GRAPH_LDAP_USER_BASE_DN="ou=users,o=libregraph-idm" -export GRAPH_LDAP_GROUP_BASE_DN="ou=groups,o=libregraph-idm" export GRAPH_LDAP_SERVER_WRITE_ENABLED="true" export IDP_INSECURE="true" -export IDP_LDAP_FILTER="(&(objectclass=inetOrgPerson)(objectClass=owncloud))" -export IDP_LDAP_URI=ldaps://localhost:9235 export IDP_LDAP_BIND_DN="uid=idp,ou=sysusers,o=libregraph-idm" export IDP_LDAP_BIND_PASSWORD="idp" -export IDP_LDAP_BASE_DN="ou=users,o=libregraph-idm" export IDP_LDAP_LOGIN_ATTRIBUTE=uid -export IDP_LDAP_UUID_ATTRIBUTE="ownclouduuid" -export IDP_LDAP_UUID_ATTRIBUTE_TYPE=binary export PROXY_ACCOUNT_BACKEND_TYPE=cs3 export OCS_ACCOUNT_BACKEND_TYPE=cs3 -export STORAGE_LDAP_HOSTNAME=localhost -export STORAGE_LDAP_PORT=9235 -export STORAGE_LDAP_INSECURE="true" -export STORAGE_LDAP_BASE_DN="o=libregraph-idm" export STORAGE_LDAP_BIND_DN="uid=reva,ou=sysusers,o=libregraph-idm" export STORAGE_LDAP_BIND_PASSWORD=reva -export STORAGE_LDAP_LOGINFILTER='(&(objectclass=inetOrgPerson)(objectclass=owncloud)(|(uid={{login}})(mail={{login}})))' -export STORAGE_LDAP_USERFILTER='(&(objectclass=inetOrgPerson)(objectclass=owncloud)(|(ownclouduuid={{.OpaqueId}})(uid={{.OpaqueId}})))' -export STORAGE_LDAP_USERATTRIBUTEFILTER='(&(objectclass=owncloud)({{attr}}={{value}}))' -export STORAGE_LDAP_USERFINDFILTER='(&(objectclass=owncloud)(|(uid={{query}}*)(cn={{query}}*)(displayname={{query}}*)(mail={{query}}*)(description={{query}}*)))' -export STORAGE_LDAP_USERGROUPFILER='(&(objectclass=groupOfNames)(member={{query}}*))' -export STORAGE_LDAP_GROUPFILTER='(&(objectclass=groupOfNames)(objectclass=owncloud)(ownclouduuid={{.OpaqueId}}*))' export OCIS_RUN_EXTENSIONS=settings,storage-metadata,graph,graph-explorer,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,proxy,idp,nats,idm,ocdav export OCIS_INSECURE=true bin/ocis server diff --git a/grpc_apis/ocis/messages/accounts/v0/grpc.md b/grpc_apis/ocis/messages/accounts/v0/grpc.md index 4712a8efa0e..ff81ccc2903 100644 --- a/grpc_apis/ocis/messages/accounts/v0/grpc.md +++ b/grpc_apis/ocis/messages/accounts/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.accounts.v0" url: /grpc_apis/ocis_messages_accounts_v0 -date: 2022-04-13T07:58:51Z +date: 2022-04-13T08:36:18Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md index 8fdf435a801..033b726757a 100644 --- a/grpc_apis/ocis/messages/settings/v0/grpc.md +++ b/grpc_apis/ocis/messages/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.settings.v0" url: /grpc_apis/ocis_messages_settings_v0 -date: 2022-04-13T07:58:51Z +date: 2022-04-13T08:36:18Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md index c5c6cb7f04a..e1709962245 100644 --- a/grpc_apis/ocis/messages/store/v0/grpc.md +++ b/grpc_apis/ocis/messages/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.store.v0" url: /grpc_apis/ocis_messages_store_v0 -date: 2022-04-13T07:58:51Z +date: 2022-04-13T08:36:18Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md index e3a7b5b35ff..fb2792ddebb 100644 --- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.thumbnails.v0" url: /grpc_apis/ocis_messages_thumbnails_v0 -date: 2022-04-13T07:58:51Z +date: 2022-04-13T08:36:18Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/accounts/v0/grpc.md b/grpc_apis/ocis/services/accounts/v0/grpc.md index c5891529c19..00491004612 100644 --- a/grpc_apis/ocis/services/accounts/v0/grpc.md +++ b/grpc_apis/ocis/services/accounts/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.accounts.v0" url: /grpc_apis/ocis_services_accounts_v0 -date: 2022-04-13T07:58:51Z +date: 2022-04-13T08:36:18Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md index 80a6a9a0361..98d88d95f47 100644 --- a/grpc_apis/ocis/services/settings/v0/grpc.md +++ b/grpc_apis/ocis/services/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.settings.v0" url: /grpc_apis/ocis_services_settings_v0 -date: 2022-04-13T07:58:51Z +date: 2022-04-13T08:36:18Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md index e29423470bf..d5c7a8e0e3b 100644 --- a/grpc_apis/ocis/services/store/v0/grpc.md +++ b/grpc_apis/ocis/services/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.store.v0" url: /grpc_apis/ocis_services_store_v0 -date: 2022-04-13T07:58:51Z +date: 2022-04-13T08:36:18Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md index 0f4c9ef4ab0..622e99558d3 100644 --- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.thumbnails.v0" url: /grpc_apis/ocis_services_thumbnails_v0 -date: 2022-04-13T07:58:51Z +date: 2022-04-13T08:36:18Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis ---