Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding checks for mandatory elements of attributes.yml
- Loading branch information
Showing
4 changed files
with
132 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
cn: | ||
description: "Firt Name and Display Name" | ||
display_name: "Display Name" | ||
type: string | ||
autofill: | ||
function: cn | ||
args: | ||
- $first-name | ||
- $name | ||
backend-attributes: | ||
ldap: cn | ||
ad: CN | ||
first-name: | ||
description: "First name of the user" | ||
display_name: "First Name" | ||
type: string | ||
backend-attributes: | ||
ldap: givenName | ||
ad: givenName | ||
name: | ||
description: "Family name of the user" | ||
display_name: "Name" | ||
type: string | ||
backend-attributes: | ||
ldap: sn | ||
ad: sn | ||
email: | ||
description: "Email of the user" | ||
display_name: "Name" | ||
type: email | ||
autofill: | ||
function: email | ||
args: | ||
- $first-name | ||
- $last-name | ||
- '@example.com' | ||
backend-attributes: | ||
ldap: email | ||
ad: EMAIL | ||
uid: | ||
display_name: "UID" | ||
type: string | ||
autofill: | ||
function: uid | ||
args: | ||
- $first-name | ||
- $last-name | ||
backend-attributes: | ||
ldap: uid | ||
ad: UID | ||
uidNumber: | ||
description: "User ID Number of the user" | ||
display_name: "UID Number" | ||
type: int | ||
autofill: | ||
function: uidNumber | ||
args: | ||
- $first-name | ||
- $last-name | ||
backend-attributes: | ||
ldap: uidNumber | ||
ad: UIDNumber | ||
gidNumber: | ||
description: "Group ID Number of the user" | ||
display_name: "GID Number" | ||
type: int | ||
default: 10000 | ||
backend-attributes: | ||
ldap: gidNumber | ||
ad: GIDNumber | ||
shell: | ||
description: "Shell of the user" | ||
display_name: "Shell" | ||
self: True | ||
type: stringlist | ||
values: | ||
- /bin/bash | ||
- /bin/zsh | ||
- /bin/sh | ||
backend-attributes: | ||
ldap: shell | ||
ad: SHELL | ||
home: | ||
description: "Home user path" | ||
display_name: "Home" | ||
type: string | ||
autofill: | ||
function: home | ||
args: | ||
- $first-name | ||
- $last-name | ||
- /home/ | ||
backend-attributes: | ||
ldap: home | ||
ad: Home | ||
|
||
password: | ||
description: "Password of the user" | ||
display_name: "Password" | ||
self: True | ||
type: password | ||
backend-attributes: | ||
ldap: userPassword | ||
ad: userPassword | ||
logscript: | ||
description: "Windows login script" | ||
display_name: "Login script" | ||
type: fix | ||
value: login1.bat | ||
backend-attributes: | ||
ad: logonScript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters