1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-22 09:24:21 +01:00

adding different type of parameters

This commit is contained in:
kakwa 2015-04-17 21:24:07 +02:00
parent 67b6c27273
commit 398a29f7e2

View File

@ -34,7 +34,6 @@ uid:
backend-attributes: backend-attributes:
ldap: uid ldap: uid
ad: UID ad: UID
uidNumber: uidNumber:
description: "User ID Number of the user" description: "User ID Number of the user"
display_name: "UID Number" display_name: "UID Number"
@ -46,45 +45,47 @@ uidNumber:
backend-attributes: backend-attributes:
ldap: uidNumber ldap: uidNumber
ad: UIDNumber ad: UIDNumber
gidNumber: gidNumber:
description: "Group ID Number of the user" description: "Group ID Number of the user"
display_name: "GID Number" display_name: "GID Number"
autofill: default: 10000
function: uidNumber
args:
- $first-name
- $last-name
backend-attributes: backend-attributes:
ldap: gidNumber ldap: gidNumber
ad: GIDNumber ad: GIDNumber
shell: shell:
description: "Shell of the user" description: "Shell of the user"
display_name: "Shell" display_name: "Shell"
self: true self: true
default: /bin/bash type: list
values:
- /bin/bash
- /bin/zsh
- /bin/sh
backend-attributes: backend-attributes:
ldap: shell ldap: shell
ad: SHELL ad: SHELL
home: home:
description: "Shell of the user" description: "Home user path"
display_name: "Shell" display_name: "Home"
autofill: autofill:
function: home function: home
args: args:
- $first-name - $first-name
- $last-name - $last-name
- /home/ - /home/
backend-attributes: backend-attributes:
ldap: home ldap: home
ad: Home ad: Home
password: password:
decription: "Password of the user" decription: "Password of the user"
display_name: "Password" display_name: "Password"
self: true self: true
type: pwd type: pwd
backend-attributes:
ldap: userPassword
ad: userPassword
logscript:
type: fix
value: login1.bat
backend-attributes:
ad: logonScript