1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-06-04 18:17:47 +02:00
ldapcherry/conf/attributes.yml

130 lines
2.5 KiB
YAML
Raw Normal View History

2015-05-17 12:24:29 +02:00
cn:
description: "Firt Name and Display Name"
display_name: "Display Name"
type: string
2015-05-31 17:43:59 +02:00
search_displayed: True
2015-05-31 22:38:46 +02:00
weight: 30
2015-05-17 12:24:29 +02:00
autofill:
function: cn
args:
- $first-name
- $name
2015-05-19 00:12:41 +02:00
backends:
ldap: cn
ad: CN
2015-05-31 17:43:59 +02:00
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
ad: givenName
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
ad: sn
email:
description: "Email of the user"
display_name: "Name"
2015-05-17 12:24:29 +02:00
type: email
2015-05-31 22:38:46 +02:00
weight: 40
autofill:
function: email
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $last-name
- '@example.com'
2015-05-19 00:12:41 +02:00
backends:
2015-05-17 12:24:29 +02:00
ldap: email
ad: EMAIL
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: uid
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $last-name
2015-05-19 00:12:41 +02:00
backends:
ldap: uid
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: uidNumber
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $last-name
2015-05-19 00:12:41 +02:00
backends:
ldap: uidNumber
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
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:
ldap: shell
ad: SHELL
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: home
2015-05-17 12:24:29 +02:00
args:
- $first-name
- $last-name
- /home/
2015-05-19 00:12:41 +02:00
backends:
ldap: home
ad: Home
2015-04-26 09:40:50 +02:00
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
ad: userPassword
logscript:
description: "Windows login script"
display_name: "Login script"
weight: 100
2015-04-17 21:24:07 +02:00
type: fix
value: login1.bat
2015-05-19 00:12:41 +02:00
backends:
2015-04-17 21:24:07 +02:00
ad: logonScript