1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-10-31 22:58:52 +01:00
ldapcherry/conf/attributes.yml

133 lines
2.7 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
2016-06-16 09:23:56 +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
2016-06-16 09:23:56 +02:00
- '10000'
- '40000'
2015-05-19 00:12:41 +02:00
backends:
ldap: uid
2015-07-30 07:32:48 +02:00
# ad: sAMAccountName
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
2016-06-16 09:23:56 +02:00
- '10000'
- '40000'
2015-05-19 00:12:41 +02:00
backends:
ldap: uidNumber
2016-06-16 22:12:19 +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
2016-06-16 22:12:19 +02:00
default: '10000'
2015-05-19 00:12:41 +02:00
backends:
ldap: gidNumber
2016-06-16 22:12:19 +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
2016-06-16 09:23:56 +02:00
# ad: loginShell
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
2016-06-16 22:12:19 +02:00
# 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
2016-06-16 22:12:19 +02:00
# ad: unicodePwd
2015-07-30 07:32:48 +02:00
#logscript:
# description: "Windows login script"
# display_name: "Login script"
# weight: 100
# type: fix
# value: login1.bat
# backends:
# ad: scriptPath