2009-06-30 09:40:37 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
|
<!DOCTYPE template SYSTEM "template.dtd">
|
2009-06-30 09:29:51 +00:00
|
|
|
<template>
|
2009-06-30 10:26:08 +00:00
|
|
|
<title>Courier Mail Account</title>
|
2009-06-30 09:29:51 +00:00
|
|
|
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
|
|
|
<icon>images/mail_account.png</icon>
|
|
|
|
<description>New Courier Mail Account</description>
|
|
|
|
<askcontainer>1</askcontainer>
|
|
|
|
<rdn>cn</rdn>
|
|
|
|
<visible>1</visible>
|
|
|
|
<invalid>0</invalid>
|
|
|
|
|
|
|
|
<objectClasses>
|
|
|
|
<objectClass id="inetOrgPerson"></objectClass>
|
|
|
|
<objectClass id="courierMailAccount"></objectClass>
|
|
|
|
</objectClasses>
|
|
|
|
|
|
|
|
<attributes>
|
2009-06-30 10:46:00 +00:00
|
|
|
<attribute id="givenName">
|
|
|
|
<display>Given Name</display>
|
|
|
|
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
|
|
|
<onchange>autoFill:uid,%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%</onchange>
|
2009-06-30 09:29:51 +00:00
|
|
|
<order>1</order>
|
|
|
|
<page>1</page>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="sn">
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>Last name</display>
|
2009-06-30 09:29:51 +00:00
|
|
|
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
|
|
|
<onchange>autoFill:uid,%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%</onchange>
|
2009-06-30 10:46:00 +00:00
|
|
|
<order>2</order>
|
2009-06-30 09:29:51 +00:00
|
|
|
<page>1</page>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="cn">
|
|
|
|
<display>Common Name</display>
|
2009-06-30 10:46:00 +00:00
|
|
|
<order>3</order>
|
|
|
|
<page>1</page>
|
|
|
|
<spacer>1</spacer>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="uid">
|
|
|
|
<display>User ID</display>
|
|
|
|
<icon>images/uid.png</icon>
|
|
|
|
<!--<onchange>autoFill:homeDirectory,/home/users/%uid%</onchange>-->
|
|
|
|
<onchange>autoFill:homeDirectory,/home/users/%gidNumber|0-0/T%/%uid|3-%</onchange>
|
|
|
|
<order>4</order>
|
2009-06-30 09:29:51 +00:00
|
|
|
<page>1</page>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="uidNumber">
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>UID Number</display>
|
|
|
|
<hint>Automatically determined</hint>
|
2009-06-30 09:40:37 +00:00
|
|
|
<icon>images/terminal.png</icon>
|
2009-06-30 10:46:00 +00:00
|
|
|
<value>=php.GetNextNumber(/,uid)</value>
|
|
|
|
<readonly>1</readonly>
|
2009-06-30 09:29:51 +00:00
|
|
|
<order>6</order>
|
|
|
|
<page>1</page>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="gidNumber">
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>GID Number</display>
|
2009-06-30 10:46:00 +00:00
|
|
|
<onchange>autoFill:uid,%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%</onchange>
|
2009-06-30 09:29:51 +00:00
|
|
|
<onchange>autoFill:homeDirectory,/home/users/%gidNumber|0-0/T%/%uid|3-%</onchange>
|
2009-06-30 10:46:00 +00:00
|
|
|
<option>=php.PickList(/,(objectClass=posixGroup),gidNumber,%cn%)</option>
|
2009-06-30 09:29:51 +00:00
|
|
|
<order>7</order>
|
|
|
|
<page>1</page>
|
2009-06-30 10:46:00 +00:00
|
|
|
<spacer>1</spacer>
|
2009-06-30 09:29:51 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="homeDirectory">
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>Home Directory</display>
|
2009-06-30 09:29:51 +00:00
|
|
|
<order>8</order>
|
|
|
|
<page>1</page>
|
2009-06-30 10:46:00 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="mail">
|
|
|
|
<display>Email</display>
|
|
|
|
<icon>images/mail.png</icon>
|
|
|
|
<order>9</order>
|
|
|
|
<page>1</page>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="mailbox">
|
|
|
|
<display>Mailbox</display>
|
|
|
|
<order>10</order>
|
|
|
|
<page>1</page>
|
2009-06-30 09:29:51 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="userPassword">
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>Password</display>
|
2009-06-30 10:46:00 +00:00
|
|
|
<icon>images/lock.png</icon>
|
|
|
|
<type>password</type>
|
|
|
|
<verify>1</verify>
|
2009-06-30 09:29:51 +00:00
|
|
|
<helper>
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>Encryption</display>
|
2009-06-30 09:40:37 +00:00
|
|
|
<id>enc</id>
|
2009-06-30 10:46:00 +00:00
|
|
|
<option>blowfish</option>
|
|
|
|
<option>clear</option>
|
|
|
|
<option>crypt</option>
|
|
|
|
<option>ext_des</option>
|
|
|
|
<option>md5</option>
|
|
|
|
<option>md5crypt</option>
|
|
|
|
<option>sha</option>
|
|
|
|
<option>smd5</option>
|
|
|
|
<option>ssha</option>
|
2009-06-30 09:29:51 +00:00
|
|
|
<value>md5</value>
|
|
|
|
</helper>
|
|
|
|
<post>=php.Password(%enc%,%userPassword%)</post>
|
2009-06-30 10:46:00 +00:00
|
|
|
<order>11</order>
|
|
|
|
<page>1</page>
|
2009-06-30 09:29:51 +00:00
|
|
|
</attribute>
|
|
|
|
</attributes>
|
|
|
|
</template>
|