mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
adding documentation on "key" attribute
This commit is contained in:
parent
9f44794972
commit
c9aa433f74
@ -92,6 +92,28 @@ If **type** is set to **stringlist** the parameter **values** must be filled wit
|
|||||||
backends:
|
backends:
|
||||||
- <backend id>: <backend attribute name>
|
- <backend id>: <backend attribute name>
|
||||||
|
|
||||||
|
Key attribute:
|
||||||
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
One attribute must be used as a unique key accross all backends:
|
||||||
|
|
||||||
|
To set the key attribute, you must set **key** to **True** on this attribute.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
.. sourcecode:: yaml
|
||||||
|
|
||||||
|
uid:
|
||||||
|
description: "UID of the user"
|
||||||
|
display_name: "UID"
|
||||||
|
search_displayed: True
|
||||||
|
key: True # defining the attribute as "key"
|
||||||
|
type: string
|
||||||
|
weight: 50
|
||||||
|
backends:
|
||||||
|
ldap: uid
|
||||||
|
ad: sAMAccountName
|
||||||
|
|
||||||
Authorize self modification
|
Authorize self modification
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user