1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-23 01:44:22 +01:00
ldapcherry/conf/attributes.yml

120 lines
2.4 KiB
YAML
Raw Normal View History

2015-05-17 12:24:29 +02:00
cn:
2015-06-11 00:22:39 +02:00
description: "First Name and Display Name"
2015-05-17 12:24:29 +02:00
display_name: "Display Name"
type: string
2015-05-31 22:38:46 +02:00
weight: 30
2015-05-17 12:24:29 +02:00
autofill:
function: lcDisplayName
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $name
2015-05-19 00:12:41 +02:00
backends:
ldap: cn
2015-06-28 11:41:36 +02:00
# ad: CN
first-name:
description: "First name of the user"
2015-05-17 12:24:29 +02:00
display_name: "First Name"
2015-05-31 17:43:59 +02:00
search_displayed: True
2015-05-17 12:24:29 +02:00
type: string
2015-05-31 22:38:46 +02:00
weight: 20
2015-05-19 00:12:41 +02:00
backends:
2015-05-17 12:24:29 +02:00
ldap: givenName
2015-06-28 11:41:36 +02:00
# ad: givenName
2015-05-17 12:24:29 +02:00
name:
description: "Family name of the user"
display_name: "Name"
2015-05-31 17:43:59 +02:00
search_displayed: True
2015-05-31 22:38:46 +02:00
weight: 10
2015-05-17 12:24:29 +02:00
type: string
2015-05-19 00:12:41 +02:00
backends:
ldap: sn
2015-06-28 11:41:36 +02:00
# ad: sn
email:
description: "Email of the user"
2015-06-10 20:00:37 +02:00
display_name: "Email"
2015-06-28 11:41:36 +02:00
search_displayed: True
2015-05-17 12:24:29 +02:00
type: email
2015-05-31 22:38:46 +02:00
weight: 40
autofill:
function: lcMail
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $name
2015-05-17 12:24:29 +02:00
- '@example.com'
2015-05-19 00:12:41 +02:00
backends:
2015-06-28 11:41:36 +02:00
ldap: mail
# ad: mail
uid:
description: "UID of the user"
display_name: "UID"
2015-05-31 17:43:59 +02:00
search_displayed: True
key: True
2015-05-17 12:24:29 +02:00
type: string
2015-05-31 22:38:46 +02:00
weight: 50
autofill:
function: lcUid
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $name
2015-05-19 00:12:41 +02:00
backends:
ldap: uid
2015-06-28 11:41:36 +02:00
# ad: uid
uidNumber:
description: "User ID Number of the user"
display_name: "UID Number"
2015-05-31 22:38:46 +02:00
weight: 60
2015-05-17 12:24:29 +02:00
type: int
autofill:
function: lcUidNumber
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $name
2015-05-19 00:12:41 +02:00
backends:
ldap: uidNumber
2015-06-28 11:41:36 +02:00
# ad: UIDNumber
gidNumber:
description: "Group ID Number of the user"
display_name: "GID Number"
2015-05-31 22:38:46 +02:00
weight: 70
2015-05-17 12:24:29 +02:00
type: int
2015-04-17 21:24:07 +02:00
default: 10000
2015-05-19 00:12:41 +02:00
backends:
ldap: gidNumber
2015-06-28 11:41:36 +02:00
# ad: GIDNumber
shell:
description: "Shell of the user"
display_name: "Shell"
2015-05-31 22:38:46 +02:00
weight: 80
2015-05-17 12:24:29 +02:00
self: True
type: stringlist
2015-04-17 21:24:07 +02:00
values:
- /bin/bash
- /bin/zsh
- /bin/sh
2015-05-19 00:12:41 +02:00
backends:
2015-06-28 11:41:36 +02:00
ldap: loginShell
# ad: LOGINSHEL
home:
2015-04-17 21:24:07 +02:00
description: "Home user path"
display_name: "Home"
2015-05-31 22:38:46 +02:00
weight: 90
2015-05-17 12:24:29 +02:00
type: string
autofill:
function: lcHomeDir
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $name
2015-05-17 12:24:29 +02:00
- /home/
2015-05-19 00:12:41 +02:00
backends:
2015-06-28 11:41:36 +02:00
ldap: homeDirectory
# ad: HOMEDIRECTORY
password:
description: "Password of the user"
display_name: "Password"
2015-05-31 22:38:46 +02:00
weight: 31
2015-05-17 12:24:29 +02:00
self: True
2015-04-26 09:40:50 +02:00
type: password
2015-05-19 00:12:41 +02:00
backends:
2015-04-17 21:24:07 +02:00
ldap: userPassword
2015-06-28 11:41:36 +02:00
# ad: PASSWORD