mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 20:37:48 +02:00
better checks for attributes
This commit is contained in:
parent
679c2bba85
commit
a71093038c
4 changed files with 41 additions and 20 deletions
20
tests/cfg/attributes_wrong_type.yml
Normal file
20
tests/cfg/attributes_wrong_type.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
cn:
|
||||
description: "Firt Name and Display Name"
|
||||
display_name: "Display Name"
|
||||
type: notatype
|
||||
autofill:
|
||||
function: cn
|
||||
args:
|
||||
- $first-name
|
||||
- $name
|
||||
backend-attributes:
|
||||
ldap: cn
|
||||
ad: CN
|
||||
|
||||
first-name:
|
||||
description: "First name of the user"
|
||||
display_name: "First Name"
|
||||
type: string
|
||||
backend-attributes:
|
||||
ldap: givenName
|
||||
ad: givenName
|
Loading…
Add table
Add a link
Reference in a new issue