From ae541e7542cc6bdbc686200dd636a79cc82853a7 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 26 Nov 2021 21:44:05 +0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jürgen Weigert --- .../app_commands/_ldap_integration_commands.adoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/admin_manual/pages/configuration/server/occ_commands/app_commands/_ldap_integration_commands.adoc b/modules/admin_manual/pages/configuration/server/occ_commands/app_commands/_ldap_integration_commands.adoc index 6211cf4434..6e39404532 100644 --- a/modules/admin_manual/pages/configuration/server/occ_commands/app_commands/_ldap_integration_commands.adoc +++ b/modules/admin_manual/pages/configuration/server/occ_commands/app_commands/_ldap_integration_commands.adoc @@ -28,7 +28,8 @@ Search for an LDAP user, using this syntax: [width="100%",cols="20%,70%",] |=== | `search` -| The search string (can be empty) +| The search string operates against the users fullname (`cn`). It is a by default a prefix search. +| Use the empty string `''` to list all users. Start the string with `*` to change to infix (substring) search. |=== === Options @@ -45,7 +46,7 @@ Search for an LDAP user, using this syntax: | Limit the results. 0 means no limit, defaults to 15 [default: 15] |=== -Searches match at the beginning of the attribute value only. This example searches for `givenNames` that start with 'rob': +Searches match at the beginning of the attribute value only. This example searches for `givenNames` that contain 'rob': [source,console,subs="attributes+"] ---- @@ -76,7 +77,7 @@ ldap:check-user [options] [--] [width="100%",cols="20%,70%",] |=== | `ocName` -| The user name as used in ownCloud +| The user name as used in ownCloud (see e.g. the user's Federated Cloud ID). |=== === Options @@ -223,7 +224,7 @@ This example sets search attributes: {occ-command-example-prefix} ldap:set-config s01 ldapAttributesForUserSearch "cn;givenname;sn;displayname;mail" ---- -All of the available keys, along with default values for configValue, are listed in the table below. +Available keys, along with default values for configValue, are listed in the table below. [width="70%",cols=",",options="header",] |===