mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-03 03:47:35 +02:00
improve documentation
* improve documentation for key: True flag in attributes.yml * improve documentation for the ldap filters and their templating * improve comment in the .ini file
This commit is contained in:
parent
7ac7118c9a
commit
d831b09293
3 changed files with 21 additions and 4 deletions
|
@ -73,7 +73,10 @@ The ldap backend exposes the following parameters:
|
|||
| userdn | backends | The ldap dn where users are | ldap dn | |
|
||||
+--------------------------+----------+------------------------------------+--------------------------+--------------------------------------------+
|
||||
| user_filter_tmpl | backends | The search filter template | ldap search filter | The user identifier is passed through |
|
||||
| | | to recover a given user | template | the **username** variable (*%(username)s*).|
|
||||
| | | to recover a given user | template | the **username** variable (*%(username)s*) |
|
||||
| | | | | |
|
||||
| | | | | **username** is the attribute marked by |
|
||||
| | | | | **key: True** in the **attribute.yml** file|
|
||||
+--------------------------+----------+------------------------------------+--------------------------+--------------------------------------------+
|
||||
| group_filter_tmpl | backends | The search filter template to | ldap search filter | The following variables are usable: |
|
||||
| | | recover the groups of a given user | template | * **username**: the user key attribute |
|
||||
|
@ -83,7 +86,8 @@ The ldap backend exposes the following parameters:
|
|||
| | | | | in groups dn entries |
|
||||
| | | | | * every user attributes are exposed |
|
||||
| | | | | in the template |
|
||||
| | | | | * multiple attributes can be set |
|
||||
| | | | | * multiple <memver attr> attributes |
|
||||
| | | | | can be set |
|
||||
+--------------------------+----------+------------------------------------+--------------------------+--------------------------------------------+
|
||||
| objectclasses | backends | list of object classes for users | comma separated list | |
|
||||
+--------------------------+----------+------------------------------------+--------------------------+--------------------------------------------+
|
||||
|
|
|
@ -112,7 +112,12 @@ If **type** is set to **stringlist** the parameter **values** must be filled wit
|
|||
Key attribute:
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
One attribute must be used as a unique key across all backends:
|
||||
One attribute must be used as a unique key across all backends.
|
||||
|
||||
It acts as a reconciliation key.
|
||||
|
||||
It also marks which attribute must be used within ldapcherry (ex: querysting parameter in links)
|
||||
to point to one given user.
|
||||
|
||||
To set the key attribute, you must set **key** to **True** on this attribute.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue