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:
|
2015-07-08 00:42:01 +02:00
|
|
|
function: lcDisplayName
|
2015-05-17 12:24:29 +02:00
|
|
|
args:
|
|
|
|
- $first-name
|
|
|
|
- $name
|
2015-05-19 00:12:41 +02:00
|
|
|
backends:
|
2015-04-16 22:07:45 +02:00
|
|
|
ldap: cn
|
2016-06-16 09:23:56 +02:00
|
|
|
# ad: cn
|
2015-04-16 22:07:45 +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
|
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"
|
2015-04-16 22:07:45 +02:00
|
|
|
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:
|
2015-04-16 22:07:45 +02:00
|
|
|
ldap: sn
|
2015-06-28 11:41:36 +02:00
|
|
|
# ad: sn
|
2015-04-16 22:07:45 +02:00
|
|
|
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
|
2015-04-16 22:07:45 +02:00
|
|
|
autofill:
|
2015-07-08 00:42:01 +02:00
|
|
|
function: lcMail
|
2015-05-17 12:24:29 +02:00
|
|
|
args:
|
|
|
|
- $first-name
|
2015-07-08 00:42:01 +02:00
|
|
|
- $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
|
2015-04-16 22:07:45 +02:00
|
|
|
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
|
2015-04-16 22:07:45 +02:00
|
|
|
autofill:
|
2015-07-08 00:42:01 +02:00
|
|
|
function: lcUid
|
2015-05-17 12:24:29 +02:00
|
|
|
args:
|
|
|
|
- $first-name
|
2015-07-08 00:42:01 +02:00
|
|
|
- $name
|
2016-06-16 09:23:56 +02:00
|
|
|
- '10000'
|
|
|
|
- '40000'
|
2015-05-19 00:12:41 +02:00
|
|
|
backends:
|
2015-04-16 22:07:45 +02:00
|
|
|
ldap: uid
|
2015-07-30 07:32:48 +02:00
|
|
|
# ad: sAMAccountName
|
2015-04-16 22:07:45 +02:00
|
|
|
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
|
2015-04-16 22:07:45 +02:00
|
|
|
autofill:
|
2015-07-08 00:42:01 +02:00
|
|
|
function: lcUidNumber
|
2015-05-17 12:24:29 +02:00
|
|
|
args:
|
|
|
|
- $first-name
|
2015-07-08 00:42:01 +02:00
|
|
|
- $name
|
2016-06-16 09:23:56 +02:00
|
|
|
- '10000'
|
|
|
|
- '40000'
|
2015-05-19 00:12:41 +02:00
|
|
|
backends:
|
2015-04-16 22:07:45 +02:00
|
|
|
ldap: uidNumber
|
2016-06-16 22:12:19 +02:00
|
|
|
# ad: uidNumber
|
2015-04-16 22:07:45 +02:00
|
|
|
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:
|
2015-04-16 22:07:45 +02:00
|
|
|
ldap: gidNumber
|
2016-06-16 22:12:19 +02:00
|
|
|
# ad: gidNumber
|
2015-04-16 22:07:45 +02:00
|
|
|
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
|
2015-04-16 22:07:45 +02:00
|
|
|
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
|
2015-04-16 22:07:45 +02:00
|
|
|
autofill:
|
2015-07-08 00:42:01 +02:00
|
|
|
function: lcHomeDir
|
2015-05-17 12:24:29 +02:00
|
|
|
args:
|
|
|
|
- $first-name
|
2015-07-08 00:42:01 +02:00
|
|
|
- $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
|
2015-04-16 22:07:45 +02:00
|
|
|
password:
|
2015-05-17 19:22:11 +02:00
|
|
|
description: "Password of the user"
|
2015-04-16 22:07:45 +02:00
|
|
|
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
|
2016-06-18 15:39:54 +02:00
|
|
|
hash: ldap_sha512_crypt
|
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
|