1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-25 18:54:29 +01:00

fix configuration for javascript autofill

This commit is contained in:
kakwa 2015-07-08 00:42:01 +02:00
parent af4e24218e
commit 3d399504a7

View File

@ -4,7 +4,7 @@ cn:
type: string type: string
weight: 30 weight: 30
autofill: autofill:
function: cn function: lcDisplayName
args: args:
- $first-name - $first-name
- $name - $name
@ -36,10 +36,10 @@ email:
type: email type: email
weight: 40 weight: 40
autofill: autofill:
function: email function: lcMail
args: args:
- $first-name - $first-name
- $last-name - $name
- '@example.com' - '@example.com'
backends: backends:
ldap: mail ldap: mail
@ -52,10 +52,10 @@ uid:
type: string type: string
weight: 50 weight: 50
autofill: autofill:
function: uid function: lcUid
args: args:
- $first-name - $first-name
- $last-name - $name
backends: backends:
ldap: uid ldap: uid
# ad: uid # ad: uid
@ -65,10 +65,10 @@ uidNumber:
weight: 60 weight: 60
type: int type: int
autofill: autofill:
function: uidNumber function: lcUidNumber
args: args:
- $first-name - $first-name
- $last-name - $name
backends: backends:
ldap: uidNumber ldap: uidNumber
# ad: UIDNumber # ad: UIDNumber
@ -100,10 +100,10 @@ home:
weight: 90 weight: 90
type: string type: string
autofill: autofill:
function: home function: lcHomeDir
args: args:
- $first-name - $first-name
- $last-name - $name
- /home/ - /home/
backends: backends:
ldap: homeDirectory ldap: homeDirectory