Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jürgen Weigert <[email protected]>
  • Loading branch information
mmattel and jnweiger committed Nov 28, 2021
1 parent b1ea5f5 commit ae541e7
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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+"]
----
Expand Down Expand Up @@ -76,7 +77,7 @@ ldap:check-user [options] [--] <ocName>
[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
Expand Down Expand Up @@ -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",]
|===
Expand Down

0 comments on commit ae541e7

Please sign in to comment.