-
Notifications
You must be signed in to change notification settings - Fork 1
/
customAccount.xml
86 lines (82 loc) · 2.06 KB
/
customAccount.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "../template.dtd">
<template>
<askcontainer>1</askcontainer>
<description>New Development Account</description>
<icon>ldap-user.png</icon>
<invalid>0</invalid>
<rdn>uid</rdn>
<regexp>^ou=people,dc=.*,</regexp>
<title>Development: Account</title>
<visible>1</visible>
<objectClasses>
<objectClass id="inetOrgPerson"></objectClass>
<objectClass id="uidObject"></objectClass>
<objectClass id="simpleSecurityObject"></objectClass>
</objectClasses>
<attributes>
<attribute id="uid">
<display>User ID</display>
<icon>ldap-uid.png</icon>
<onchange>=autoFill(mail;%uid%@example.org)</onchange>
<!-- <onchange>=autoFill(homeDirectory;/home/%uid%)</onchange> -->
<order>1</order>
<page>1</page>
<spacer>1</spacer>
</attribute>
<attribute id="sn">
<display>姓</display>
<onchange>=autoFill(cn;%sn%%gn%)</onchange>
<onchange>=autoFill(displayName;%sn%%gn%)</onchange>
<order>3</order>
<page>1</page>
</attribute>
<attribute id="gn">
<display>名</display>
<onchange>=autoFill(cn;%sn%%gn%)</onchange>
<onchange>=autoFill(displayName;%sn%%gn%)</onchange>
<order>4</order>
<page>1</page>
</attribute>
<attribute id="mobile">
<display>Mobile</display>
<order>5</order>
<page>1</page>
</attribute>
<attribute id="mail">
<display>Email</display>
<icon>mail.png</icon>
<order>6</order>
<page>1</page>
</attribute>
<attribute id="displayName">
<display>Display Name</display>
<order>7</order>
<page>1</page>
</attribute>
<attribute id="cn">
<display>Common Name</display>
<order>8</order>
<page>1</page>
</attribute>
<attribute id="employeeNumber">
<display>Employee Number</display>
<order>9</order>
<page>1</page>
</attribute>
<attribute id="userPassword">
<display>Password</display>
<!-- <helper>
<display>Encryption</display>
<id>enc</id>
<value>=php.PasswordEncryptionTypes()</value>
</helper> -->
<icon>lock.png</icon>
<order>2</order>
<page>1</page>
<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
<spacer>1</spacer>
<verify>1</verify>
</attribute>
</attributes>
</template>