From dd92cbcbdcccf066ff811736d77ab20afe3d7b61 Mon Sep 17 00:00:00 2001 From: John Redwood Date: Tue, 1 Oct 2024 23:35:16 +1000 Subject: [PATCH] fix: run prettier Signed-off-by: John Redwood --- docs/integrations/ldap/org.md | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/docs/integrations/ldap/org.md b/docs/integrations/ldap/org.md index b84e87a4da..88d6dc60fd 100644 --- a/docs/integrations/ldap/org.md +++ b/docs/integrations/ldap/org.md @@ -53,7 +53,7 @@ backend.add(import('@backstage/plugin-catalog-backend-module-ldap')); ## Configuration The following configuration is a small example of how a setup could look for -importing groups and users from a corporate LDAP server. +importing groups and users from a corporate LDAP server. Users and Groups can be configured for multiple `dn` entries as an array. @@ -67,24 +67,23 @@ catalog: dn: uid=ldap-reader-user,ou=people,ou=example,dc=example,dc=net secret: ${LDAP_SECRET} users: - - dn: ou=people,ou=example,dc=example,dc=net - options: - filter: (uid=*) - map: - description: l - set: - metadata.customField: 'hello' + - dn: ou=people,ou=example,dc=example,dc=net + options: + filter: (uid=*) + map: + description: l + set: + metadata.customField: 'hello' groups: - - dn: ou=access,ou=groups,ou=example,dc=example,dc=net - options: - filter: (&(objectClass=some-group-class)(!(groupType=email))) - map: - description: l - set: - metadata.customField: 'hello' + - dn: ou=access,ou=groups,ou=example,dc=example,dc=net + options: + filter: (&(objectClass=some-group-class)(!(groupType=email))) + map: + description: l + set: + metadata.customField: 'hello' ``` - These config blocks have a lot of options in them, so we will describe each "root" key within the block separately. > NOTE: @@ -332,7 +331,6 @@ vendor: dnCaseSensitive: true ``` - ## Customize the Provider In case you want to customize the ingested entities, the provider allows to pass