Ralf Haferkamp 436399e8ea idm: Allow to create demo and service users on startup
Uses go:embed to include the demo and service users from LDIF.
Using a template file for the service users to be able to set
custom passwords via config/env.

In order to switch ocis to use idm instead of accounts/glauth it
currently needs to be started with this env:

GRAPH_IDENTITY_BACKEND=ldap
GRAPH_LDAP_URI=ldaps://localhost:9235
GRAPH_LDAP_BIND_DN="uid=libregraph,ou=sysusers,o=libregraph-idm"
GRAPH_LDAP_BIND_PASSWORD=idm
GRAPH_LDAP_USER_EMAIL_ATTRIBUTE=mail
GRAPH_LDAP_USER_NAME_ATTRIBUTE=uid
GRAPH_LDAP_USER_BASE_DN="ou=users,o=libregraph-idm"
GRAPH_LDAP_GROUP_BASE_DN="ou=groups,o=libregraph-idm"
GRAPH_LDAP_SERVER_WRITE_ENABLED="true"
IDP_LDAP_FILTER="(&(objectclass=inetOrgPerson)(objectClass=owncloud))"
IDP_LDAP_URI=ldaps://localhost:9235
IDP_LDAP_BIND_DN="uid=idp,ou=sysusers,o=libregraph-idm"
IDP_LDAP_BIND_PASSWORD="idp"
IDP_LDAP_BASE_DN="ou=users,o=libregraph-idm"
IDP_LDAP_LOGIN_ATTRIBUTE=uid
IDP_LDAP_UUID_ATTRIBUTE="ownclouduuid"
IDP_LDAP_UUID_ATTRIBUTE_TYPE=binary
PROXY_ACCOUNT_BACKEND_TYPE=cs3
OCS_ACCOUNT_BACKEND_TYPE=cs3
STORAGE_LDAP_HOSTNAME=localhost
STORAGE_LDAP_PORT=9235
STORAGE_LDAP_INSECURE="true"
STORAGE_LDAP_BASE_DN="o=libregraph-idm"
STORAGE_LDAP_BIND_DN="uid=reva,ou=sysusers,o=libregraph-idm"
STORAGE_LDAP_BIND_PASSWORD=reva
STORAGE_LDAP_LOGINFILTER='(&(objectclass=inetOrgPerson)(objectclass=owncloud)(|(uid={{login}})(mail={{login}})))'
STORAGE_LDAP_USERFILTER='(&(objectclass=inetOrgPerson)(objectclass=owncloud)(|(ownclouduuid={{.OpaqueId}})(uid={{.OpaqueId}})))'
STORAGE_LDAP_USERATTRIBUTEFILTER='(&(objectclass=owncloud)({{attr}}={{value}}))'
STORAGE_LDAP_USERFINDFILTER='(&(objectclass=owncloud)(|(uid={{query}}*)(cn={{query}}*)(displayname={{query}}*)(mail={{query}}*)(description={{query}}*)))'
STORAGE_LDAP_GROUPFILTER='(&(objectclass=groupOfNames)(objectclass=owncloud)(ownclouduuid={{.OpaqueId}}*))'
OCIS_INSECURE=true
2022-03-09 15:18:15 +01:00
2022-02-18 09:26:13 +01:00
2022-02-25 11:43:03 +01:00
2022-03-04 12:59:43 +01:00
2022-01-31 12:17:56 +01:00
2022-01-13 11:32:32 +01:00
2022-02-25 08:58:38 +01:00
2022-03-07 08:15:50 +01:00
2022-02-25 11:43:03 +01:00
2022-03-03 19:56:04 +01:00
2022-03-08 23:12:43 +01:00
2021-06-22 10:00:34 +00:00
2022-01-31 12:17:56 +01:00
2022-03-08 23:12:43 +01:00
2022-03-03 19:39:55 +01:00
2022-03-08 23:12:43 +01:00
2021-02-16 09:49:31 +00:00
2021-03-24 16:44:31 +01:00
2022-03-03 19:39:55 +01:00
2022-03-02 15:31:58 +01:00
2020-09-23 15:54:33 +02:00
2022-01-31 09:35:40 +01:00
2021-09-20 16:54:29 +05:45
2020-09-23 15:54:33 +02:00

ownCloud Infinite Scale

Rocket chat Build Status Security Rating Coverage Go Report Go Doc oCIS docker image

ownCloud Infinite Scale is currently in a technical preview state. It will be subject to a lot of changes and is not yet ready for general production deployments.

Run ownCloud Infinite Scale

Please see Getting Started

Development

Please see Development - Getting Started

Security

If you find a security issue please contact security@owncloud.com first

Contributing

Please refer to our Contribution Guidelines.

License

Apache-2.0

Copyright (c) 2020-2021 ownCloud GmbH <https://owncloud.com>
Description
This is the main repository of the OpenCloud server. It contains the golang codebase for the backend services.
Readme Apache-2.0 335 MiB
Languages
Go 48.3%
Gherkin 36.6%
PHP 12.4%
JavaScript 1.3%
Makefile 0.7%
Other 0.5%