phpldapadmin: Add phpldapadmin configuration.
[matthijs/servers/drsnuggles.git] / etc / phpldapadmin / templates / creation / kolabPerson.xml
diff --git a/etc/phpldapadmin/templates/creation/kolabPerson.xml b/etc/phpldapadmin/templates/creation/kolabPerson.xml
new file mode 100644 (file)
index 0000000..0429842
--- /dev/null
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE template SYSTEM "template.dtd">
+<template>
+<title>Kolab User Entry</title>
+<!--<regexp>^ou=People,o=.*,</regexp>-->
+<icon>images/user.png</icon>
+<description>New Address Book Entry</description>
+<askcontainer>1</askcontainer>
+<rdn>cn</rdn>
+<visible>1</visible>
+<invalid>1</invalid>
+
+<objectClasses>
+<objectClass id="inetOrgPerson"></objectClass>
+</objectClasses>
+
+<attributes>
+<attribute id="givenName">
+       <display>First name</display>
+       <icon>images/uid.png</icon>
+       <onchange>autoFill:cn,%givenName% %sn%</onchange>
+       <order>1</order>
+</attribute>
+<attribute id="sn">
+       <display>Last name</display>
+       <onchange>autoFill:cn,%givenName% %sn%</onchange>
+       <order>2</order>
+</attribute>
+<attribute id="cn">
+       <display>Common Name</display>
+       <order>3</order>
+</attribute>
+<attribute id="mail">
+       <display>Email</display>
+       <order>4</order>
+</attribute>
+<attribute id="userPassword">
+       <display>Password</display>
+       <icon>images/lock.png</icon>
+       <type>password</type>
+       <verify>1</verify>
+       <helper>
+               <display>Encryption</display>
+               <id>enc</id>
+               <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>
+               <value>md5</value>
+       </helper>
+       <post>=php.Password(%enc%,%userPassword%)</post>
+       <order>5</order>
+       <spacer>1</spacer>
+</attribute>
+
+<attribute id="title">
+       <display>Title</display>
+       <icon>images/ou.png</icon>
+       <order>6</order>
+</attribute>
+<attribute id="alias">
+       <display>Alias</display>
+       <order>7</order>
+</attribute>
+<attribute id="o">
+       <display>Organisation</display>
+       <order>8</order>
+</attribute>
+<attribute id="ou">
+       <display>Organisational unit</display>
+       <order>9</order>
+</attribute>
+<attribute id="roomNumber">
+       <display>Room Number</display>
+       <order>10</order>
+       <spacer>1</spacer>
+</attribute>
+
+<attribute id="street">
+       <display>Address</display>
+       <icon>images/mail.png</icon>
+       <order>11</order>
+</attribute>
+<attribute id="postOfficeBox">
+       <display>Post box</display>
+       <order>12</order>
+</attribute>
+<attribute id="l">
+       <display>City</display>
+       <order>13</order>
+</attribute>
+<attribute id="st">
+       <display>State</display>
+       <order>14</order>
+</attribute>
+<attribute id="postalCode">
+       <display>Postal code</display>
+       <order>15</order>
+</attribute>
+<attribute id="c">
+       <display>Country</display>
+       <order>16</order>
+       <spacer>1</spacer>
+</attribute>
+<attribute id="telephoneNumber">
+       <display>Work phone</display>
+       <icon>images/phone.png</icon>
+       <order>17</order>
+</attribute>
+<attribute id="facsimileTelephoneNumber">
+       <display>Fax</display>
+       <order>18</order>
+</attribute>
+<attribute id="mobile">
+       <display>Mobile</display>
+       <order>19</order>
+</attribute>
+</attributes>
+</template>