diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index 5804bfc6f0d..cb80a9b6d21 100644 --- a/grpc_apis/ocis/messages/search/v0/grpc.md +++ b/grpc_apis/ocis/messages/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.search.v0" url: /grpc_apis/ocis_messages_search_v0 -date: 2022-06-30T09:44:09Z +date: 2022-06-30T12:19:11Z 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 8bdcbcefd1c..b3d4dc90599 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-06-30T09:44:09Z +date: 2022-06-30T12:19:11Z 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 6cd2c465338..525d1efa08a 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-06-30T09:44:09Z +date: 2022-06-30T12:19:11Z 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 402027d33ca..52600e4f940 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-06-30T09:44:09Z +date: 2022-06-30T12:19:11Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md index 5972579e796..6d804c7afe4 100644 --- a/grpc_apis/ocis/services/search/v0/grpc.md +++ b/grpc_apis/ocis/services/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.search.v0" url: /grpc_apis/ocis_services_search_v0 -date: 2022-06-30T09:44:09Z +date: 2022-06-30T12:19:11Z 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 a1e409101ad..119939b18e9 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-06-30T09:44:09Z +date: 2022-06-30T12:19:11Z 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 85eddfa12e2..9bd61457fd0 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-06-30T09:44:09Z +date: 2022-06-30T12:19:11Z 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 fda95fc0225..f5340d63d81 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-06-30T09:44:09Z +date: 2022-06-30T12:19:11Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/services/_includes/adoc/graph_configvars.adoc b/services/_includes/adoc/graph_configvars.adoc index 542a35eb620..9a5dca5bdcc 100644 --- a/services/_includes/adoc/graph_configvars.adoc +++ b/services/_includes/adoc/graph_configvars.adoc @@ -194,7 +194,7 @@ The certificate to verify TLS connections a| [subs=-attributes] false a| [subs=-attributes] - +Disable TLS certificate validation for the LDAP connections. Do not set this in production environments. |`LDAP_BIND_DN` + `GRAPH_LDAP_BIND_DN` @@ -202,7 +202,7 @@ a| [subs=-attributes] a| [subs=-attributes] uid=libregraph,ou=sysusers,o=libregraph-idm a| [subs=-attributes] - +LDAP DN to use for simple bind authentication with the target LDAP server. |`LDAP_BIND_PASSWORD` + `GRAPH_LDAP_BIND_PASSWORD` @@ -210,21 +210,28 @@ a| [subs=-attributes] a| [subs=-attributes] a| [subs=-attributes] - +Password to use for authenticating the 'bind_dn'. |`GRAPH_LDAP_SERVER_UUID` | bool a| [subs=-attributes] false a| [subs=-attributes] +If set to true, rely on the LDAP Server to generate a unique ID for users and groups, e.g. when using 'entryUUID' as the user id attribute. +|`GRAPH_LDAP_SERVER_USE_PASSWORD_MODIFY_EXOP` +| bool +a| [subs=-attributes] +true +a| [subs=-attributes] +User the Password Modify Extended Operation for updating user passwords |`GRAPH_LDAP_SERVER_WRITE_ENABLED` | bool a| [subs=-attributes] true a| [subs=-attributes] - +Allow to create, modify and delete LDAP users via graph API. This is only works when the default Schema is used. |`LDAP_USER_BASE_DN` + `GRAPH_LDAP_USER_BASE_DN` @@ -232,7 +239,7 @@ a| [subs=-attributes] a| [subs=-attributes] ou=users,o=libregraph-idm a| [subs=-attributes] - +Search base DN for looking up LDAP users. |`LDAP_USER_SCOPE` + `GRAPH_LDAP_USER_SCOPE` @@ -240,7 +247,7 @@ a| [subs=-attributes] a| [subs=-attributes] sub a| [subs=-attributes] - +LDAP search scope to use when looking up users ('base', 'one', 'sub'). |`LDAP_USER_FILTER` + `GRAPH_LDAP_USER_FILTER` @@ -248,7 +255,7 @@ a| [subs=-attributes] a| [subs=-attributes] a| [subs=-attributes] - +LDAP filter to add to the default filters for user search (e.g. '(objectclass=ownCloud)'). |`LDAP_USER_OBJECTCLASS` + `GRAPH_LDAP_USER_OBJECTCLASS` @@ -256,7 +263,7 @@ a| [subs=-attributes] a| [subs=-attributes] inetOrgPerson a| [subs=-attributes] - +The object class to use for users in the default user search filter ('inetOrgPerson'). |`LDAP_USER_SCHEMA_MAIL` + `GRAPH_LDAP_USER_EMAIL_ATTRIBUTE` @@ -264,7 +271,7 @@ a| [subs=-attributes] a| [subs=-attributes] mail a| [subs=-attributes] - +LDAP Attribute to use for the email address of users. |`LDAP_USER_SCHEMA_DISPLAY_NAME` + `GRAPH_LDAP_USER_DISPLAYNAME_ATTRIBUTE` @@ -272,7 +279,7 @@ a| [subs=-attributes] a| [subs=-attributes] displayName a| [subs=-attributes] - +LDAP Attribute to use for the displayname of users. |`LDAP_USER_SCHEMA_USERNAME` + `GRAPH_LDAP_USER_NAME_ATTRIBUTE` @@ -280,7 +287,7 @@ a| [subs=-attributes] a| [subs=-attributes] uid a| [subs=-attributes] - +LDAP Attribute to use for username of users. |`LDAP_USER_SCHEMA_ID` + `GRAPH_LDAP_USER_UID_ATTRIBUTE` @@ -288,7 +295,7 @@ a| [subs=-attributes] a| [subs=-attributes] owncloudUUID a| [subs=-attributes] - +LDAP Attribute to use as the unique id for users. This should be a stable globally unique id (e.g. a UUID). |`LDAP_GROUP_BASE_DN` + `GRAPH_LDAP_GROUP_BASE_DN` @@ -296,7 +303,7 @@ a| [subs=-attributes] a| [subs=-attributes] ou=groups,o=libregraph-idm a| [subs=-attributes] - +Search base DN for looking up LDAP groups. |`LDAP_GROUP_SCOPE` + `GRAPH_LDAP_GROUP_SEARCH_SCOPE` @@ -304,7 +311,7 @@ a| [subs=-attributes] a| [subs=-attributes] sub a| [subs=-attributes] - +LDAP search scope to use when looking up gruops ('base', 'one', 'sub'). |`LDAP_GROUP_FILTER` + `GRAPH_LDAP_GROUP_FILTER` @@ -312,7 +319,7 @@ a| [subs=-attributes] a| [subs=-attributes] a| [subs=-attributes] - +LDAP filter to add to the default filters for group searches. |`LDAP_GROUP_OBJECTCLASS` + `GRAPH_LDAP_GROUP_OBJECTCLASS` @@ -320,7 +327,7 @@ a| [subs=-attributes] a| [subs=-attributes] groupOfNames a| [subs=-attributes] - +The object class to use for groups in the default group search filter ('groupOfNames'). |`LDAP_GROUP_SCHEMA_GROUPNAME` + `GRAPH_LDAP_GROUP_NAME_ATTRIBUTE` @@ -328,7 +335,7 @@ a| [subs=-attributes] a| [subs=-attributes] cn a| [subs=-attributes] - +LDAP Attribute to use for the name of groups |`LDAP_GROUP_SCHEMA_ID` + `GRAPH_LDAP_GROUP_ID_ATTRIBUTE` @@ -336,7 +343,7 @@ a| [subs=-attributes] a| [subs=-attributes] owncloudUUID a| [subs=-attributes] - +LDAP Attribute to use as the unique id for groups. This should be a stable globally unique id (e.g. a UUID). |`GRAPH_EVENTS_ENDPOINT` | string diff --git a/services/_includes/graph-config-example.yaml b/services/_includes/graph-config-example.yaml index ce6002b5595..221377f8b69 100644 --- a/services/_includes/graph-config-example.yaml +++ b/services/_includes/graph-config-example.yaml @@ -38,6 +38,7 @@ identity: bind_dn: uid=libregraph,ou=sysusers,o=libregraph-idm bind_password: "" use_server_uuid: false + use_password_modify_exop: true write_enabled: true user_base_dn: ou=users,o=libregraph-idm user_search_scope: sub diff --git a/services/_includes/graph_configvars.md b/services/_includes/graph_configvars.md index 7b0fbe99fc6..b06726b29ab 100644 --- a/services/_includes/graph_configvars.md +++ b/services/_includes/graph_configvars.md @@ -26,24 +26,25 @@ | GRAPH_IDENTITY_BACKEND | string | ldap | The user identity backend to use, defaults to 'ldap', can be 'cs3'.| | LDAP_URI
GRAPH_LDAP_URI | string | ldaps://localhost:9235 | URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://'| | LDAP_CACERT
GRAPH_LDAP_CACERT | string | ~/.ocis/idm/ldap.crt | The certificate to verify TLS connections| -| LDAP_INSECURE
GRAPH_LDAP_INSECURE | bool | false | | -| LDAP_BIND_DN
GRAPH_LDAP_BIND_DN | string | uid=libregraph,ou=sysusers,o=libregraph-idm | | -| LDAP_BIND_PASSWORD
GRAPH_LDAP_BIND_PASSWORD | string | | | -| GRAPH_LDAP_SERVER_UUID | bool | false | | -| GRAPH_LDAP_SERVER_WRITE_ENABLED | bool | true | | -| LDAP_USER_BASE_DN
GRAPH_LDAP_USER_BASE_DN | string | ou=users,o=libregraph-idm | | -| LDAP_USER_SCOPE
GRAPH_LDAP_USER_SCOPE | string | sub | | -| LDAP_USER_FILTER
GRAPH_LDAP_USER_FILTER | string | | | -| LDAP_USER_OBJECTCLASS
GRAPH_LDAP_USER_OBJECTCLASS | string | inetOrgPerson | | -| LDAP_USER_SCHEMA_MAIL
GRAPH_LDAP_USER_EMAIL_ATTRIBUTE | string | mail | | -| LDAP_USER_SCHEMA_DISPLAY_NAME
GRAPH_LDAP_USER_DISPLAYNAME_ATTRIBUTE | string | displayName | | -| LDAP_USER_SCHEMA_USERNAME
GRAPH_LDAP_USER_NAME_ATTRIBUTE | string | uid | | -| LDAP_USER_SCHEMA_ID
GRAPH_LDAP_USER_UID_ATTRIBUTE | string | owncloudUUID | | -| LDAP_GROUP_BASE_DN
GRAPH_LDAP_GROUP_BASE_DN | string | ou=groups,o=libregraph-idm | | -| LDAP_GROUP_SCOPE
GRAPH_LDAP_GROUP_SEARCH_SCOPE | string | sub | | -| LDAP_GROUP_FILTER
GRAPH_LDAP_GROUP_FILTER | string | | | -| LDAP_GROUP_OBJECTCLASS
GRAPH_LDAP_GROUP_OBJECTCLASS | string | groupOfNames | | -| LDAP_GROUP_SCHEMA_GROUPNAME
GRAPH_LDAP_GROUP_NAME_ATTRIBUTE | string | cn | | -| LDAP_GROUP_SCHEMA_ID
GRAPH_LDAP_GROUP_ID_ATTRIBUTE | string | owncloudUUID | | +| LDAP_INSECURE
GRAPH_LDAP_INSECURE | bool | false | Disable TLS certificate validation for the LDAP connections. Do not set this in production environments.| +| LDAP_BIND_DN
GRAPH_LDAP_BIND_DN | string | uid=libregraph,ou=sysusers,o=libregraph-idm | LDAP DN to use for simple bind authentication with the target LDAP server.| +| LDAP_BIND_PASSWORD
GRAPH_LDAP_BIND_PASSWORD | string | | Password to use for authenticating the 'bind_dn'.| +| GRAPH_LDAP_SERVER_UUID | bool | false | If set to true, rely on the LDAP Server to generate a unique ID for users and groups, e.g. when using 'entryUUID' as the user id attribute.| +| GRAPH_LDAP_SERVER_USE_PASSWORD_MODIFY_EXOP | bool | true | User the Password Modify Extended Operation for updating user passwords| +| GRAPH_LDAP_SERVER_WRITE_ENABLED | bool | true | Allow to create, modify and delete LDAP users via graph API. This is only works when the default Schema is used.| +| LDAP_USER_BASE_DN
GRAPH_LDAP_USER_BASE_DN | string | ou=users,o=libregraph-idm | Search base DN for looking up LDAP users.| +| LDAP_USER_SCOPE
GRAPH_LDAP_USER_SCOPE | string | sub | LDAP search scope to use when looking up users ('base', 'one', 'sub').| +| LDAP_USER_FILTER
GRAPH_LDAP_USER_FILTER | string | | LDAP filter to add to the default filters for user search (e.g. '(objectclass=ownCloud)').| +| LDAP_USER_OBJECTCLASS
GRAPH_LDAP_USER_OBJECTCLASS | string | inetOrgPerson | The object class to use for users in the default user search filter ('inetOrgPerson').| +| LDAP_USER_SCHEMA_MAIL
GRAPH_LDAP_USER_EMAIL_ATTRIBUTE | string | mail | LDAP Attribute to use for the email address of users.| +| LDAP_USER_SCHEMA_DISPLAY_NAME
GRAPH_LDAP_USER_DISPLAYNAME_ATTRIBUTE | string | displayName | LDAP Attribute to use for the displayname of users.| +| LDAP_USER_SCHEMA_USERNAME
GRAPH_LDAP_USER_NAME_ATTRIBUTE | string | uid | LDAP Attribute to use for username of users.| +| LDAP_USER_SCHEMA_ID
GRAPH_LDAP_USER_UID_ATTRIBUTE | string | owncloudUUID | LDAP Attribute to use as the unique id for users. This should be a stable globally unique id (e.g. a UUID).| +| LDAP_GROUP_BASE_DN
GRAPH_LDAP_GROUP_BASE_DN | string | ou=groups,o=libregraph-idm | Search base DN for looking up LDAP groups.| +| LDAP_GROUP_SCOPE
GRAPH_LDAP_GROUP_SEARCH_SCOPE | string | sub | LDAP search scope to use when looking up gruops ('base', 'one', 'sub').| +| LDAP_GROUP_FILTER
GRAPH_LDAP_GROUP_FILTER | string | | LDAP filter to add to the default filters for group searches.| +| LDAP_GROUP_OBJECTCLASS
GRAPH_LDAP_GROUP_OBJECTCLASS | string | groupOfNames | The object class to use for groups in the default group search filter ('groupOfNames'). | +| LDAP_GROUP_SCHEMA_GROUPNAME
GRAPH_LDAP_GROUP_NAME_ATTRIBUTE | string | cn | LDAP Attribute to use for the name of groups| +| LDAP_GROUP_SCHEMA_ID
GRAPH_LDAP_GROUP_ID_ATTRIBUTE | string | owncloudUUID | LDAP Attribute to use as the unique id for groups. This should be a stable globally unique id (e.g. a UUID).| | GRAPH_EVENTS_ENDPOINT | string | 127.0.0.1:9233 | the address of the streaming service| | GRAPH_EVENTS_CLUSTER | string | ocis-cluster | the clusterID of the streaming service. Mandatory when using nats| \ No newline at end of file