Latest SANDPIT - MERGE from CVS (MERGE-GIT)
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
<template>
|
||||
<title>Posix Group - SUSE</title>
|
||||
<!-- <regexp>^ou=.*,</regexp> -->
|
||||
<icon>images/ou.png</icon>
|
||||
<description>Posix Group - SUSE</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<rdn>cn</rdn>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="posixGroup"></objectClass>
|
||||
<objectClass id="namedObject"></objectClass>
|
||||
</objectClasses>
|
||||
|
||||
<attributes>
|
||||
<attribute id="cn">
|
||||
<display>Group</display>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<hint>Automatically determined</hint>
|
||||
<value>=php.GetNextNumber(/,gid)</value>
|
||||
<readonly>1</readonly>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="memberUid">
|
||||
<maxvalnb>10</maxvalnb>
|
||||
<display>Users</display>
|
||||
<type>Dn</type>
|
||||
<hidden>0</hidden>
|
||||
<order>3</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
</template>
|
@@ -1,68 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
<template>
|
||||
<title>Samba3 Group Mapping - SUSE</title>
|
||||
<!-- <regexp>^ou=.*,</regexp> -->
|
||||
<icon>images/ou.png</icon>
|
||||
<description>New Samba3 Group Mapping</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<rdn>cn</rdn>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="posixGroup"></objectClass>
|
||||
<objectClass id="namedObject"></objectClass>
|
||||
<objectClass id="sambaGroupMapping"></objectClass>
|
||||
</objectClasses>
|
||||
|
||||
<attributes>
|
||||
<attribute id="cn">
|
||||
<display>Group</display>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="displayName">
|
||||
<display>Windows Name</display>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<hint>Automatically determined</hint>
|
||||
<value>=php.GetNextNumber(/,gid)</value>
|
||||
<readonly>1</readonly>
|
||||
<order>3</order>
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="sambaSID">
|
||||
<display>Samba SID</display>
|
||||
<option>=php.PickList(/,(objectClass=sambaDomain),sambaSID,%sambaSID% (%sambaDomainName%))</option>
|
||||
<helper>
|
||||
<id>sidsuffix</id>
|
||||
<value></value>
|
||||
</helper>
|
||||
<post>=php.Join(-,(%sambaSID%,%sidsuffix%))</post>
|
||||
<order>4</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="sambaGroupType">
|
||||
<display>Samba Group Type</display>
|
||||
<option id="2">Domain Group</option>
|
||||
<option id="4">Local Group</option>
|
||||
<option id="5">Well-known Group</option>
|
||||
<value>2</value>
|
||||
<order>5</order>
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="memberUid">
|
||||
<maxvalnb>10</maxvalnb>
|
||||
<display>Users</display>
|
||||
<type>Dn</type>
|
||||
<hidden>0</hidden>
|
||||
<order>10</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
</template>
|
@@ -1,15 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
<!--This template doesnt work needs modification to the Engine.-->
|
||||
|
||||
<template>
|
||||
<title>LDAP Alias</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/mail_alias.png</icon>
|
||||
<description>New LDAP Alias</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<rdn>uid</rdn>
|
||||
<visible>1</visible>
|
||||
<description>New LDAP Alias</description>
|
||||
<icon>images/go.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>uid</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Generic: LDAP Alias</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="alias"></objectClass>
|
||||
@@ -19,13 +20,14 @@
|
||||
<attributes>
|
||||
<attribute id="aliasedObjectName">
|
||||
<display>Alias To</display>
|
||||
<order>1</order>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="uid">
|
||||
<display>User ID</display>
|
||||
<order>2</order>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Courier Mail Account</title>
|
||||
<!--<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>
|
||||
<description>New Courier Mail Account</description>
|
||||
<icon>images/mail_account.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Courier Mail: Account</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="inetOrgPerson"></objectClass>
|
||||
@@ -18,15 +19,15 @@
|
||||
<attributes>
|
||||
<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>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<onchange>=autoFill(uid;%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%)</onchange>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="sn">
|
||||
<display>Last name</display>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>autoFill:uid,%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<onchange>=autoFill(uid;%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%)</onchange>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
@@ -39,28 +40,27 @@
|
||||
<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>
|
||||
<!--<onchange>=autoFill(homeDirectory;/home/users/%uid%)</onchange>-->
|
||||
<onchange>=autoFill(homeDirectory;/home/users/%gidNumber|0-0/T%/%uid|3-%)</onchange>
|
||||
<order>4</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="uidNumber">
|
||||
<display>UID Number</display>
|
||||
<hint>Automatically determined</hint>
|
||||
<icon>images/terminal.png</icon>
|
||||
<value>=php.GetNextNumber(/,uid)</value>
|
||||
<readonly>1</readonly>
|
||||
<order>6</order>
|
||||
<page>1</page>
|
||||
<readonly>1</readonly>
|
||||
<value>=php.GetNextNumber(/;uidNumber)</value>
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<onchange>autoFill:uid,%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%</onchange>
|
||||
<onchange>autoFill:homeDirectory,/home/users/%gidNumber|0-0/T%/%uid|3-%</onchange>
|
||||
<option>=php.PickList(/,(objectClass=posixGroup),gidNumber,%cn%)</option>
|
||||
<onchange>=autoFill(uid;%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%)</onchange>
|
||||
<onchange>=autoFill(homeDirectory;/home/users/%gidNumber|0-0/T%/%uid|3-%)</onchange>
|
||||
<order>7</order>
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
<value><![CDATA[=php.PickList(/;(&(objectClass=posixGroup));gidNumber;%cn%)]]></value>
|
||||
</attribute>
|
||||
<attribute id="homeDirectory">
|
||||
<display>Home Directory</display>
|
||||
@@ -68,10 +68,10 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="mail">
|
||||
<display>Email</display>
|
||||
<display>Email</display>
|
||||
<icon>images/mail.png</icon>
|
||||
<order>9</order>
|
||||
<page>1</page>
|
||||
<order>9</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="mailbox">
|
||||
<display>Mailbox</display>
|
||||
@@ -81,25 +81,11 @@
|
||||
<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>11</order>
|
||||
<page>1</page>
|
||||
<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
|
||||
<verify>1</verify>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Courier Mail Alias</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/mail_alias.png</icon>
|
||||
<description>New Courier Mail Alias</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<rdn>cn</rdn>
|
||||
<visible>1</visible>
|
||||
<description>New Courier Mail Alias</description>
|
||||
<icon>images/mail_alias.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Courier Mail: Alias</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="inetOrgPerson"></objectClass>
|
||||
@@ -37,4 +38,5 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>DNS Entry</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/dc.png</icon>
|
||||
<description>New DNS Entry</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New DNS Entry</description>
|
||||
<icon>images/dc.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>dc</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Generic: DNS Entry</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -15,9 +17,8 @@
|
||||
</objectClasses>
|
||||
|
||||
<attributes>
|
||||
<attribute id="domainComponent">
|
||||
<description>Domain Component</description>
|
||||
<display>DC Name</display>
|
||||
<attribute id="dc">
|
||||
<display>Domain Component</display>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
@@ -27,4 +28,5 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,11 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Example entry</title>
|
||||
<regexp>^$</regexp>
|
||||
<icon>images/star.png</icon>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>This is the description</description>
|
||||
<icon>images/star.png</icon>
|
||||
<invalid>1</invalid>
|
||||
<rdn>o</rdn>
|
||||
<regexp>^$</regexp>
|
||||
<title>Example entry</title>
|
||||
<visible>0</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -14,7 +17,6 @@
|
||||
|
||||
<attributes>
|
||||
<attribute id="attribute1">
|
||||
<description>This is the attribute description</description>
|
||||
<display>Attribute 1</display>
|
||||
<hint>This is an example</hint>
|
||||
<icon>images/user.png</icon>
|
||||
@@ -22,16 +24,15 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="attribute2">
|
||||
<description>This is the attribute description</description>
|
||||
<display>Attribute 2</display>
|
||||
<order>2</order>
|
||||
<page>2</page>
|
||||
</attribute>
|
||||
<attribute id="attribute3">
|
||||
<description>This is the attribute description</description>
|
||||
<display>Attribute 3</display>
|
||||
<order>1</order>
|
||||
<page>2</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Address Book Entry</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/user.png</icon>
|
||||
<description>New Address Book Entry</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Address Book Entry</description>
|
||||
<icon>images/user.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Generic: Address Book Entry</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -17,13 +19,13 @@
|
||||
<attribute id="givenName">
|
||||
<display>First name</display>
|
||||
<icon>images/uid.png</icon>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="sn">
|
||||
<display>Last name</display>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
@@ -33,19 +35,24 @@
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="jpegPhoto">
|
||||
<display>Photo</display>
|
||||
<order>3</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="o">
|
||||
<display>Organisation</display>
|
||||
<order>4</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="street">
|
||||
<cols>50</cols>
|
||||
<display>Street</display>
|
||||
<icon>images/mail.png</icon>
|
||||
<type>textarea</type>
|
||||
<cols>50</cols>
|
||||
<rows>4</rows>
|
||||
<order>4</order>
|
||||
<page>1</page>
|
||||
<rows>4</rows>
|
||||
<type>textarea</type>
|
||||
</attribute>
|
||||
<attribute id="l">
|
||||
<display>City</display>
|
||||
@@ -85,4 +92,5 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<?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>
|
||||
<description>New Address Book Entry</description>
|
||||
<icon>images/user.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Kolab: User Entry</title>
|
||||
<visible>1</visible>
|
||||
<invalid>1</invalid>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="inetOrgPerson"></objectClass>
|
||||
@@ -18,12 +19,12 @@
|
||||
<attribute id="givenName">
|
||||
<display>First name</display>
|
||||
<icon>images/uid.png</icon>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>1</order>
|
||||
</attribute>
|
||||
<attribute id="sn">
|
||||
<display>Last name</display>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>2</order>
|
||||
</attribute>
|
||||
<attribute id="cn">
|
||||
@@ -37,27 +38,11 @@
|
||||
<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>
|
||||
<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
|
||||
<spacer>1</spacer>
|
||||
<verify>1</verify>
|
||||
</attribute>
|
||||
|
||||
<attribute id="title">
|
||||
<display>Title</display>
|
||||
<icon>images/ou.png</icon>
|
||||
@@ -80,7 +65,6 @@
|
||||
<order>10</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
|
||||
<attribute id="street">
|
||||
<display>Address</display>
|
||||
<icon>images/mail.png</icon>
|
||||
@@ -102,11 +86,11 @@
|
||||
<display>Postal code</display>
|
||||
<order>15</order>
|
||||
</attribute>
|
||||
<attribute id="c">
|
||||
<!-- <attribute id="c">
|
||||
<display>Country</display>
|
||||
<order>16</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
</attribute> -->
|
||||
<attribute id="telephoneNumber">
|
||||
<display>Work phone</display>
|
||||
<icon>images/phone.png</icon>
|
||||
@@ -121,4 +105,5 @@
|
||||
<order>19</order>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,37 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Address Book Entry (mozillaAbPersonAlpha)</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/user.png</icon>
|
||||
<description>New Address Book Entry</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Thunderbird Address Book Entry</description>
|
||||
<icon>images/user.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Thunderbird: Address Book Entry</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="inetOrgPerson"></objectClass>
|
||||
<objectClass id="mozillaAbPersonAlpha"></objectClass>
|
||||
<objectClass id="mozillaOrgPerson"></objectClass>
|
||||
</objectClasses>
|
||||
|
||||
<attributes>
|
||||
<attribute id="givenName">
|
||||
<display>First Name</display>
|
||||
<icon>images/uid.png</icon>
|
||||
<onchange>autoFill:cn,%sn% %givenName%</onchange>
|
||||
<onchange>=autoFill(cn;%sn% %givenName%)</onchange>
|
||||
<order>1</order>
|
||||
</attribute>
|
||||
<attribute id="sn">
|
||||
<display>Last Name</display>
|
||||
<onchange>autoFill:cn,%sn% %givenName%</onchange>
|
||||
<onchange>=autoFill(cn;%sn% %givenName%)</onchange>
|
||||
<order>2</order>
|
||||
</attribute>
|
||||
<attribute id="cn">
|
||||
<display>Common Name</display>
|
||||
<display>Display Name</display>
|
||||
<order>3</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaNickName">
|
||||
<display>Nickname</display>
|
||||
<display>NickName</display>
|
||||
<order>4</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
@@ -40,124 +41,121 @@
|
||||
<order>5</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaSecondEmail">
|
||||
<display>Additional email</display>
|
||||
<display>Alternative Email</display>
|
||||
<order>6</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="nsAIMid">
|
||||
<display>Screen Name</display>
|
||||
<display>AIM Nick</display>
|
||||
<order>7</order>
|
||||
</attribute>
|
||||
<attribute id="telephoneNumber">
|
||||
<display>Work Phone</display>
|
||||
<icon>images/phone.png</icon>
|
||||
<attribute id="mozillaUseHtmlMail">
|
||||
<display>HTML Email Format</display>
|
||||
<order>8</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="homePhone">
|
||||
<display>Home Phone</display>
|
||||
<attribute id="telephoneNumber">
|
||||
<display>Work Phone Number</display>
|
||||
<order>9</order>
|
||||
</attribute>
|
||||
<attribute id="facsimileTelephoneNumber">
|
||||
<display>Fax</display>
|
||||
<attribute id="homePhone">
|
||||
<display>Home Phone Number</display>
|
||||
<order>10</order>
|
||||
</attribute>
|
||||
<attribute id="pager">
|
||||
<display>Page</display>
|
||||
<attribute id="facsimileTelephoneNumber">
|
||||
<display>Fax Number</display>
|
||||
<order>11</order>
|
||||
</attribute>
|
||||
<attribute id="pager">
|
||||
<display>Pager</display>
|
||||
<order>12</order>
|
||||
</attribute>
|
||||
<attribute id="mobile">
|
||||
<display>Mobile</display>
|
||||
<order>12</order>
|
||||
<order>13</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="mozillaHomeStreet">
|
||||
<display>Home Address</display>
|
||||
<order>13</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaHomeStreet2">
|
||||
<display>Home Address 2</display>
|
||||
<display>Address (personal)</display>
|
||||
<order>14</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaHomeLocalityName">
|
||||
<display>Home City</display>
|
||||
<display>City (personal)</display>
|
||||
<order>15</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaHomeState">
|
||||
<display>Home State</display>
|
||||
<display>State (personal)</display>
|
||||
<order>16</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaHomePostalCode">
|
||||
<display>Home ZIP/Postal Code</display>
|
||||
<display>Zip (personal)</display>
|
||||
<order>17</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaHomeCountryName">
|
||||
<display>Home Country</display>
|
||||
<display>Country (personal)</display>
|
||||
<order>18</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaHomeUrl">
|
||||
<display>Home Web page</display>
|
||||
<display>Web page (personal)</display>
|
||||
<order>19</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="title">
|
||||
<display>Work Title</display>
|
||||
<display>Title (professional)</display>
|
||||
<order>20</order>
|
||||
</attribute>
|
||||
<attribute id="ou">
|
||||
<display>Work Department</display>
|
||||
<display>Department (professional)</display>
|
||||
<order>21</order>
|
||||
</attribute>
|
||||
<attribute id="o">
|
||||
<display>Work Organization</display>
|
||||
<display>Organization (professional)</display>
|
||||
<order>22</order>
|
||||
</attribute>
|
||||
<attribute id="street">
|
||||
<display>Work Address</display>
|
||||
<display>Address (professional)</display>
|
||||
<order>23</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaWorkStreet2">
|
||||
<display>Work Address 2</display>
|
||||
<attribute id="l">
|
||||
<display>City (professional)</display>
|
||||
<order>24</order>
|
||||
</attribute>
|
||||
<attribute id="l">
|
||||
<display>Work City</display>
|
||||
<attribute id="st">
|
||||
<display>State (professional)</display>
|
||||
<order>25</order>
|
||||
</attribute>
|
||||
<attribute id="st">
|
||||
<display>Work State/Province</display>
|
||||
<attribute id="postalCode">
|
||||
<display>Zip (professional)</display>
|
||||
<order>26</order>
|
||||
</attribute>
|
||||
<attribute id="postalCode">
|
||||
<display>Work ZIP/Postal Code</display>
|
||||
<attribute id="c">
|
||||
<display>Country (professional)</display>
|
||||
<order>27</order>
|
||||
</attribute>
|
||||
<attribute id="c">
|
||||
<display>Work Country</display>
|
||||
<order>28</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaWorkUrl">
|
||||
<display>Work Web page</display>
|
||||
<order>29</order>
|
||||
</attribute>
|
||||
<attribute id="description">
|
||||
<display>Note</display>
|
||||
<order>30</order>
|
||||
<display>Web Page (professional)</display>
|
||||
<order>28</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="mozillaCustom1">
|
||||
<display>Custom 1</display>
|
||||
<order>31</order>
|
||||
<order>29</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaCustom2">
|
||||
<display>Custom 2</display>
|
||||
<order>32</order>
|
||||
<order>30</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaCustom3">
|
||||
<display>Custom 3</display>
|
||||
<order>33</order>
|
||||
<order>31</order>
|
||||
</attribute>
|
||||
<attribute id="mozillaCustom4">
|
||||
<display>Custom 4</display>
|
||||
<order>34</order>
|
||||
<order>32</order>
|
||||
</attribute>
|
||||
<attribute id="description">
|
||||
<display>Description</display>
|
||||
<order>33</order>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Organisational Role</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/o.png</icon>
|
||||
<description>New Organisational Role</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Organisational Role</description>
|
||||
<icon>images/o.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Generic: Organisational Role</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -29,21 +31,18 @@
|
||||
<order>3</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
|
||||
<attribute id="description">
|
||||
<display>Comments</display>
|
||||
<icon>images/light.png</icon>
|
||||
<order>4</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
|
||||
<attribute id="roleOccupant">
|
||||
<display>Occupant</display>
|
||||
<icon>images/object.png</icon>
|
||||
<order>5</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
|
||||
<attribute id="street">
|
||||
<display>Street Address</display>
|
||||
<icon>images/mail.png</icon>
|
||||
@@ -62,7 +61,6 @@
|
||||
<order>9</order>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
|
||||
<attribute id="postalAddress">
|
||||
<display>Postal Address</display>
|
||||
<icon>images/mail.png</icon>
|
||||
@@ -74,6 +72,6 @@
|
||||
<icon>images/mail.png</icon>
|
||||
<order>11</order>
|
||||
</attribute>
|
||||
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Organisational Unit</title>
|
||||
<!-- <regexp>^o=.*,</regexp> -->
|
||||
<icon>images/ou.png</icon>
|
||||
<description>New Organisational Unit</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Organisational Unit</description>
|
||||
<icon>images/ou.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>ou</rdn>
|
||||
<!-- <regexp>^o=.*,</regexp> -->
|
||||
<title>Generic: Organisational Unit</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -15,11 +17,11 @@
|
||||
|
||||
<attributes>
|
||||
<attribute id="ou">
|
||||
<description>Organisational Unit</description>
|
||||
<display>Organisational Unit</display>
|
||||
<hint>don't include "ou="</hint>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>User Account</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/user.png</icon>
|
||||
<description>New User Account</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New User Account</description>
|
||||
<icon>images/user.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Generic: User Account</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -18,16 +20,16 @@
|
||||
<attribute id="givenName">
|
||||
<display>First name</display>
|
||||
<icon>images/uid.png</icon>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>autoFill:uid,%givenName|0-1/l%%sn/l%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<onchange>=autoFill(uid;%givenName|0-1/l%%sn/l%)</onchange>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="sn">
|
||||
<display>Last name</display>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>autoFill:uid,%givenName|0-1/l%%sn/l%</onchange>
|
||||
<!-- <onchange>autoFill:homeDirectory,/home/users/%uid|0-1/l%/%uid%</onchange> -->
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<onchange>=autoFill(uid;%givenName|0-1/l%%sn/l%)</onchange>
|
||||
<!-- <onchange>=autoFill(homeDirectory;/home/users/%uid|0-1/l%/%uid%)</onchange> -->
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
@@ -38,65 +40,56 @@
|
||||
</attribute>
|
||||
<attribute id="uid">
|
||||
<display>User ID</display>
|
||||
<onchange>autoFill:homeDirectory,/home/users/%uid%</onchange>
|
||||
<onchange>=autoFill(homeDirectory;/home/users/%uid%)</onchange>
|
||||
<order>4</order>
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="homeDirectory">
|
||||
<display>Home directory</display>
|
||||
<!-- <onchange>autoFill:homeDirectory,/home/users/%gidNumber|0-0/T%/%uid|3-%</onchange> -->
|
||||
<!-- <onchange>=autoFill(homeDirectory;/home/users/%gidNumber|0-0/T%/%uid|3-%)</onchange> -->
|
||||
<order>8</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="uidNumber">
|
||||
<display>UID Number</display>
|
||||
<hint>Automatically determined</hint>
|
||||
<icon>images/terminal.png</icon>
|
||||
<order>6</order>
|
||||
<page>1</page>
|
||||
<value>=php.GetNextNumber(/,uid)</value>
|
||||
<readonly>1</readonly>
|
||||
<value>=php.GetNextNumber(/;uidNumber)</value>
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<!-- <onchange>autoFill:homeDirectory,/home/users/%gidNumber|0-0/T%/%uid|3-%</onchange> -->
|
||||
<!-- <onchange>=autoFill(homeDirectory;/home/users/%gidNumber|0-0/T%/%uid|3-%)</onchange> -->
|
||||
<order>7</order>
|
||||
<page>1</page>
|
||||
<option>=php.PickList(/,(objectClass=posixGroup),gidNumber,%cn%)</option>
|
||||
<value><![CDATA[=php.PickList(/;(&(objectClass=posixGroup));gidNumber;%cn%)]]></value>
|
||||
</attribute>
|
||||
<attribute id="loginShell">
|
||||
<display>Login shell</display>
|
||||
<order>9</order>
|
||||
<page>1</page>
|
||||
<!-- <option>=php.PickList(/,(objectClass=posixAccount),loginShell,%loginShell%)</option> -->
|
||||
<option>/bin/sh</option>
|
||||
<option>/bin/tsh</option>
|
||||
<option>/bin/csh</option>
|
||||
<!-- <value><![CDATA[=php.PickList(/;(&(objectClass=posixAccount));loginShell;%loginShell%)]]></value> -->
|
||||
<type>select</type>
|
||||
<value id="/bin/sh">/bin/sh</value>
|
||||
<value id="/bin/csh">/bin/csh</value>
|
||||
<value id="/bin/tsh">/bin/tsh</value>
|
||||
</attribute>
|
||||
<attribute id="userPassword">
|
||||
<display>Password</display>
|
||||
<icon>images/lock.png</icon>
|
||||
<type>password</type>
|
||||
<verify>1</verify>
|
||||
<helper>
|
||||
<!-- <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>
|
||||
<value>=php.PasswordEncryptionTypes()</value>
|
||||
</helper> -->
|
||||
<icon>images/lock.png</icon>
|
||||
<order>5</order>
|
||||
<page>1</page>
|
||||
<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
|
||||
<spacer>1</spacer>
|
||||
<verify>1</verify>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Posix Group</title>
|
||||
<!-- <regexp>^ou=.*,</regexp> -->
|
||||
<icon>images/ou.png</icon>
|
||||
<description>New Posix Group</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Posix Group</description>
|
||||
<icon>images/ou.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!-- <regexp>^ou=.*,</regexp> -->
|
||||
<title>Generic: Posix Group</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -21,20 +23,20 @@
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<hint>Automatically determined</hint>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
<value>=php.GetNextNumber(/,gid)</value>
|
||||
<readonly>1</readonly>
|
||||
<spacer>1</spacer>
|
||||
<!-- <option>=php.GetNextNumber(/,gid,false,(&(objectClass=posixGroup)),*2;+1000)</option> -->
|
||||
<value>=php.GetNextNumber(/;gidNumber)</value>
|
||||
<!-- <value><![CDATA[=php.GetNextNumber(/;gidNumber;false;(&(objectClass=posixGroup));*2,+1000)]]></value> -->
|
||||
</attribute>
|
||||
<attribute id="memberUid">
|
||||
<display>Users</display>
|
||||
<!-- <option>=php.MultiList(/,(objectClass=posixAccount),uid,%cn% (%uid|-4%))</option> -->
|
||||
<hidden>0</hidden>
|
||||
<order>3</order>
|
||||
<page>1</page>
|
||||
<value><![CDATA[=php.MultiList(/;(&(objectClass=posixAccount));uid;%cn% (%uid|-4%))]]></value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Samba Domain</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/dc.png</icon>
|
||||
<description>New Samba Domain</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Samba Domain</description>
|
||||
<icon>images/dc.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>sambaDomainName</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Samba: Domain</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -22,9 +24,10 @@
|
||||
<attribute id="sambaSID">
|
||||
<display>Samba SID</display>
|
||||
<hint>Samba SID is in the format S-1-5-21-x-y-z</hint>
|
||||
<value>S-1-5-21-</value>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
<value>S-1-5-21-</value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Samba3 Group Mapping</title>
|
||||
<!-- <regexp>^ou=.*,</regexp> -->
|
||||
<icon>images/ou.png</icon>
|
||||
<description>New Samba3 Group Mapping</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Samba3 Group Mapping</description>
|
||||
<icon>images/ou.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!-- <regexp>^ou=.*,</regexp> -->
|
||||
<title>Samba: Group Mapping</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -27,43 +29,42 @@
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<hint>Automatically determined</hint>
|
||||
<value>=php.GetNextNumber(/,gid,true,(&(objectClass=sambaDomain)(sambaDomainName=mysambadomain))</value>
|
||||
<readonly>1</readonly>
|
||||
<order>3</order>
|
||||
<page>1</page>
|
||||
<readonly>1</readonly>
|
||||
<spacer>1</spacer>
|
||||
<value><![CDATA[=php.GetNextNumber(/;gidNumber;true;(&(objectClass=sambaDomain)(sambaDomainName=mysambadomain))]]></value>
|
||||
</attribute>
|
||||
<attribute id="sambaSID">
|
||||
<display>Samba SID</display>
|
||||
<option>=php.PickList(/,(objectClass=sambaDomain),sambaSID,%sambaSID% (%sambaDomainName%))</option>
|
||||
<helper>
|
||||
<id>sidsuffix</id>
|
||||
<option>=php.GetNextNumber(/,gid,false,(&(objectClass=sambaDomain)(sambaDomainName=mysambadomain)),*2;+1000)</option>
|
||||
<value><![CDATA[=php.GetNextNumber(/;gidNumber;false;(&(objectClass=sambaDomain)(sambaDomainName=mysambadomain));*2,+1000)]]></value>
|
||||
</helper>
|
||||
<post>=php.Join(-,(%sambaSID%,%sidsuffix%))</post>
|
||||
<order>4</order>
|
||||
<post>=php.Join(-;%sambaSID%,%sidsuffix%)</post>
|
||||
<page>1</page>
|
||||
<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID% (%sambaDomainName%))]]></value>
|
||||
</attribute>
|
||||
<attribute id="sambaGroupType">
|
||||
<display>Samba Group Type</display>
|
||||
<option id="2">Domain Group</option>
|
||||
<option id="4">Local Group</option>
|
||||
<option id="5">Well-known Group</option>
|
||||
<value>2</value>
|
||||
<order>5</order>
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
<type>select</type>
|
||||
<value id="2">Domain Group</value>
|
||||
<value id="4">Local Group</value>
|
||||
<value id="5">Well-known Group</value>
|
||||
</attribute>
|
||||
<attribute id="memberUid">
|
||||
<display>Users</display>
|
||||
<type>multiselect</type>
|
||||
<option>=php.MultiList(/,(objectClass=posixAccount),uid,%cn% %uid|-4/U%,memberUid,dmdName=users:::dc=localdomain,root => cn=root; nobody => cn=nobody,cn,,,)</option>
|
||||
<value>=php.MultiList(/,(&(objectClass=posixAccount)(gidNumber=29999)),uid)</value>
|
||||
<size>10</size>
|
||||
<hidden>0</hidden>
|
||||
<order>10</order>
|
||||
<page>1</page>
|
||||
<size>10</size>
|
||||
<value><![CDATA[=php.MultiList(/;(&(objectClass=posixAccount));uid)]]></value>
|
||||
<!-- <value><![CDATA[=php.MultiList(/;(&(objectClass=posixAccount));uid;%cn% %uid|-4/U%;memberUid;dmdName=users,dc=localdomain;root => cn=root, nobody => cn=nobody;cn;;;)]]></value> -->
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Samba3 Machine</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/server.png</icon>
|
||||
<description>New Samba3 Machine</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Samba3 Machine</description>
|
||||
<icon>images/server.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>uid</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Samba: Machine</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -19,47 +21,47 @@
|
||||
<attribute id="uid">
|
||||
<display>Machine Name</display>
|
||||
<hint>The machine name should end with a $</hint>
|
||||
<icon>images/terminal.png</icon>
|
||||
<onchange>autoFill:cn,%uid%</onchange>
|
||||
<icon>images/terminal.png</icon>
|
||||
<onchange>=autoFill(cn;%uid%)</onchange>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="uidNumber">
|
||||
<display>UID Number</display>
|
||||
<hint>Automatically determined</hint>
|
||||
<value>=php.GetNextNumber(/,uid)</value>
|
||||
<display>UID Number</display>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
<readonly>1</readonly>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
<value>=php.GetNextNumber(/;uidNumber)</value>
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<option>=php.PickList(/,(objectClass=posixGroup),gidNumber,%cn%)</option>
|
||||
<order>3</order>
|
||||
<page>1</page>
|
||||
<display>GID Number</display>
|
||||
<order>3</order>
|
||||
<page>1</page>
|
||||
<value><![CDATA[=php.PickList(/;(&(objectClass=posixGroup));gidNumber;%cn%)]]></value>
|
||||
</attribute>
|
||||
<attribute id="sambaSID">
|
||||
<display>Samba SID</display>
|
||||
<option>=php.PickList(/,(objectClass=sambaDomain),sambaSID,%sambaSID% (%sambaDomainName%))</option>
|
||||
<helper>
|
||||
<id>sidsuffix</id>
|
||||
<value></value>
|
||||
</helper>
|
||||
<post>=php.Join(-,(%sambaSID%,%sidsuffix%))</post>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
<post>=php.Join(-;%sambaSID%,%sidsuffix%)</post>
|
||||
<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID% (%sambaDomainName%))]]></value>
|
||||
</attribute>
|
||||
<attribute id="sambaAcctFlags">
|
||||
<value>[W]</value>
|
||||
<hidden>1</hidden>
|
||||
<value>[W]</value>
|
||||
</attribute>
|
||||
<attribute id="homeDirectory">
|
||||
<value>/dev/null</value>
|
||||
<hidden>1</hidden>
|
||||
<value>/dev/null</value>
|
||||
</attribute>
|
||||
<attribute id="cn">
|
||||
<value></value>
|
||||
<hidden>1</hidden>
|
||||
<value></value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Samba3 Account</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/user.png</icon>
|
||||
<description>New Samba3 Account</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Samba3 Account</description>
|
||||
<icon>images/user.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Samba: Account</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -19,14 +21,13 @@
|
||||
<attribute id="givenName">
|
||||
<display>First name</display>
|
||||
<icon>images/uid.png</icon>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>1</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="sn">
|
||||
<display>Last name</display>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>autoFill:uid,%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>2</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
@@ -36,101 +37,87 @@
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<onchange>=autoFill(homeDirectory;/home/users/%gidNumber|0-0/T%/%uid|3-%)</onchange>
|
||||
<onchange>=autoFill(uid;%gidNumber|0-0/T%-%givenName|0-1/l%%sn/l%)</onchange>
|
||||
<order>4</order>
|
||||
<page>1</page>
|
||||
<value><![CDATA[=php.PickList(/;(&(objectClass=posixGroup));gidNumber;%cn%)]]></value>
|
||||
</attribute>
|
||||
<attribute id="uid">
|
||||
<display>User ID</display>
|
||||
<onchange>autoFill:homeDirectory,/home/users/%gidNumber|0-0/T%/%uid|3-%</onchange>
|
||||
<order>4</order>
|
||||
<onchange>=autoFill(homeDirectory;/home/users/%gidNumber|0-0/T%/%uid|3-%)</onchange>
|
||||
<order>5</order>
|
||||
<page>1</page>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="uidNumber">
|
||||
<display>UID Number</display>
|
||||
<hint>Automatically determined</hint>
|
||||
<value>=php.GetNextNumber(/,uid)</value>
|
||||
<order>5</order>
|
||||
<order>6</order>
|
||||
<page>1</page>
|
||||
<readonly>1</readonly>
|
||||
<value>=php.GetNextNumber(/;uidNumber)</value>
|
||||
</attribute>
|
||||
<attribute id="sambaSID">
|
||||
<display>Samba SID</display>
|
||||
<option>=php.PickList(/,(objectClass=sambaDomain),sambaSID,%sambaSID% (%sambaDomainName%))</option>
|
||||
<helper>
|
||||
<id>sidsuffix</id>
|
||||
<option>=php.GetNextNumber(/,uid,false,,*2;+1000)</option>
|
||||
<value>=php.GetNextNumber(/;uidNumber;false;;*2,+1000)</value>
|
||||
</helper>
|
||||
<post>=php.Join(-,(%sambaSID%,%sidsuffix%))</post>
|
||||
<order>6</order>
|
||||
<order>7</order>
|
||||
<page>1</page>
|
||||
<post>=php.Join(-;%sambaSID%,%sidsuffix%)</post>
|
||||
<spacer>1</spacer>
|
||||
<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID% (%sambaDomainName%))]]></value>
|
||||
</attribute>
|
||||
<attribute id="userPassword">
|
||||
<display>Password</display>
|
||||
<icon>images/lock.png</icon>
|
||||
<onchange>autoFill:sambaLMPassword,%userPassword%</onchange>
|
||||
<onchange>autoFill:sambaNTPassword,%userPassword%</onchange>
|
||||
<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>7</order>
|
||||
<onchange>=autoFill(sambaLMPassword;%userPassword%)</onchange>
|
||||
<onchange>=autoFill(sambaNTPassword;%userPassword%)</onchange>
|
||||
<order>8</order>
|
||||
<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
|
||||
<page>1</page>
|
||||
<verify>1</verify>
|
||||
</attribute>
|
||||
<attribute id="sambaLMPassword">
|
||||
<display>LM Password</display>
|
||||
<type>password</type>
|
||||
<post>=php.SambaPassword(LM,%sambaLMPassword%)</post>
|
||||
<order>8</order>
|
||||
<order>9</order>
|
||||
<page>1</page>
|
||||
<post>=php.PasswordEncrypt(LM;%sambaLMPassword%)</post>
|
||||
<type>password</type>
|
||||
</attribute>
|
||||
<attribute id="sambaNTPassword">
|
||||
<display>NT Password</display>
|
||||
<type>password</type>
|
||||
<post>=php.SambaPassword(NT,%sambaNTPassword%)</post>
|
||||
<order>9</order>
|
||||
<order>10</order>
|
||||
<page>1</page>
|
||||
<post>=php.PasswordEncrypt(NT;%sambaNTPassword%)</post>
|
||||
<spacer>1</spacer>
|
||||
<type>password</type>
|
||||
</attribute>
|
||||
<attribute id="loginShell">
|
||||
<display>Login shell</display>
|
||||
<icon>images/terminal.png</icon>
|
||||
<!-- <option>=php.PickList(/,(objectClass=posixAccount),loginShell,%loginShell%)</option> -->
|
||||
<option>/bin/sh</option>
|
||||
<option>/bin/tsh</option>
|
||||
<option>/bin/csh</option>
|
||||
<order>10</order>
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="gidNumber">
|
||||
<display>GID Number</display>
|
||||
<onchange>autoFill:homeDirectory,/home/users/%gidNumber|0-0/T%/%uid|3-%</onchange>
|
||||
<option>=php.PickList(/,(objectClass=posixGroup),gidNumber,%cn%)</option>
|
||||
<order>11</order>
|
||||
<page>1</page>
|
||||
<type>select</type>
|
||||
<!-- <value><![CDATA[=php.PickList(/;(&(objectClass=posixAccount));loginShell;%loginShell%)]]></value> -->
|
||||
<value id="/bin/sh">/bin/sh</value>
|
||||
<value id="/bin/csh">/bin/csh</value>
|
||||
<value id="/bin/tsh">/bin/tsh</value>
|
||||
</attribute>
|
||||
<attribute id="sambaPrimaryGroupSID">
|
||||
<display>Primary Group ID</display>
|
||||
<option>=php.PickList(/,(objectClass=sambaGroupMapping),sambaSID,%sambaSID% (%cn%),sambaPrimaryGroupSID)</option>
|
||||
<helper>
|
||||
<id>sidpgsuffix</id>
|
||||
<value></value>
|
||||
</helper>
|
||||
<post>=php.Join(-,(%sambaPrimaryGroupSID%,%sidpgsuffix%))</post>
|
||||
<order>13</order>
|
||||
<page>1</page>
|
||||
<post>=php.Join(-;%sambaPrimaryGroupSID%,%sidpgsuffix%)</post>
|
||||
<spacer>1</spacer>
|
||||
<value><![CDATA[=php.PickList(/;(&(objectClass=sambaGroupMapping));sambaSID;%sambaSID% (%cn%);sambaPrimaryGroupSID)]]></value>
|
||||
</attribute>
|
||||
<attribute id="homeDirectory">
|
||||
<display>Home directory</display>
|
||||
@@ -138,8 +125,9 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="sambaAcctFlags">
|
||||
<value>[U]</value>
|
||||
<hidden>1</hidden>
|
||||
<value>[U]</value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,14 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Sendmail Alias</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/mail.png</icon>
|
||||
<description>New Sendmail Alias</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Sendmail Alias</description>
|
||||
<icon>images/mail.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>sendmailMTACluster</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Sendmail: Alias</title>
|
||||
<visible>1</visible>
|
||||
<invalid>1</invalid>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="sendmailMTAAliasObject"></objectClass>
|
||||
@@ -34,13 +35,14 @@
|
||||
</attribute>
|
||||
<attribute id="sendmailMTAAliasValue">
|
||||
<display>Recipient Addresses</display>
|
||||
<type>textarea</type>
|
||||
<order>4</order>
|
||||
<page>1</page>
|
||||
<type>textarea</type>
|
||||
</attribute>
|
||||
<attribute id="sendmailMTAAliasGrouping">
|
||||
<value>aliases</value>
|
||||
<hidden>1</hidden>
|
||||
<value>aliases</value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Sendmail Domain</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/mail.png</icon>
|
||||
<description>New Sendmail Domain</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Sendmail Domain</description>
|
||||
<icon>images/mail.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>sendmailMTACluster</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Sendmail: Domain</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -32,8 +34,9 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="sendmailMTAClassName">
|
||||
<value>w</value>
|
||||
<hidden>1</hidden>
|
||||
<value>w</value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Sendmail Cluster</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/mail.png</icon>
|
||||
<description>New Sendmail Cluster</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Sendmail Cluster</description>
|
||||
<icon>images/mail.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>sendmailMTACluster</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Sendmail: Cluster</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -20,4 +22,5 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,17 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
<!--This template doesnt work needs modification to the Engine.-->
|
||||
|
||||
<!--This template doesnt does not appear to be correct. If it is correct, or if
|
||||
you have modifications to make it correct, then let us know, and we'll
|
||||
update and enable it.-->
|
||||
|
||||
<template>
|
||||
<title>Sendmail Relays</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/mail.png</icon>
|
||||
<description>New Sendmail Relays</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Sendmail Relays</description>
|
||||
<icon>images/mail.png</icon>
|
||||
<invalid>1</invalid>
|
||||
<rdn>sendmailMTACluster</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Sendmail: Relays</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="sendmailMTAClass"></objectClass>
|
||||
<objectClass id="sendmailMTAMapObject"></objectClass>
|
||||
</objectClasses>
|
||||
|
||||
<attributes>
|
||||
@@ -29,18 +34,20 @@
|
||||
</attribute>
|
||||
<attribute id="sendmailMTAKey">
|
||||
<display>Host/Network/Address</display>
|
||||
<option>RELAY: Allow host/network/address to relay</option>
|
||||
<option>OK: Accept local mail but disallow relay</option>
|
||||
<option>REJECT: Reject messages</option>
|
||||
<option>DISCARD: Discard messages</option>
|
||||
<option>SKIP: Apply default action to messages</option>
|
||||
<option>ERROR: Reject message with custom error</option>
|
||||
<order>3</order>
|
||||
<page>1</page>
|
||||
<type>select</type>
|
||||
<value id="RELAY">RELAY: Allow host/network/address to relay</value>
|
||||
<value id="OK">OK: Accept local mail but disallow relay</value>
|
||||
<value id="REJECT">REJECT: Reject messages</value>
|
||||
<value id="DISCARD">DISCARD: Discard messages</value>
|
||||
<value id="SKIP">SKIP: Apply default action to messages</value>
|
||||
<value id="ERROR">ERROR: Reject message with custom error</value>
|
||||
</attribute>
|
||||
<attribute id="sendmailMTAMapName">
|
||||
<value>access</value>
|
||||
<hidden>1</hidden>
|
||||
<value>access</value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Sendmail Virtual Domain</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/mail.png</icon>
|
||||
<description>New Sendmail Domain</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Sendmail Domain</description>
|
||||
<icon>images/mail.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>sendmailMTACluster</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Sendmail: Virtual Domain</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -32,8 +34,9 @@
|
||||
<page>1</page>
|
||||
</attribute>
|
||||
<attribute id="sendmailMTAClassName">
|
||||
<value>VirtHost</value>
|
||||
<hidden>1</hidden>
|
||||
<value>VirtHost</value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,14 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<!--This template doesnt does not appear to be correct. If it is correct, or if
|
||||
you have modifications to make it correct, then let us know, and we'll
|
||||
update and enable it.-->
|
||||
|
||||
<template>
|
||||
<title>Sendmail Virtual Users</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/mail.png</icon>
|
||||
<description>New Sendmail Virtual User</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<rdn>sendmailMTAMapObject</rdn>
|
||||
<visible>1</visible>
|
||||
<description>New Sendmail Virtual User</description>
|
||||
<icon>images/mail.png</icon>
|
||||
<invalid>1</invalid>
|
||||
<rdn>sendmailMTAMapObject</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Sendmail: Virtual Users</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="sendmailMTAMapObject"></objectClass>
|
||||
@@ -36,13 +41,14 @@
|
||||
<attribute id="sendmailMTAMapValue">
|
||||
<display>Recipient Addresses</display>
|
||||
<hint>use %1 to map user name port of address</hint>
|
||||
<type>textarea</type>
|
||||
<order>4</order>
|
||||
<page>1</page>
|
||||
<type>textarea</type>
|
||||
</attribute>
|
||||
<attribute id="sendmailMTAMapName">
|
||||
<value>virtuser</value>
|
||||
<hidden>1</hidden>
|
||||
<value>virtuser</value>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,12 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Simple Security Object</title>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<icon>images/user.png</icon>
|
||||
<description>New Simple Security Object</description>
|
||||
<askcontainer>1</askcontainer>
|
||||
<description>New Simple Security Object</description>
|
||||
<icon>images/user.png</icon>
|
||||
<invalid>0</invalid>
|
||||
<rdn>userid</rdn>
|
||||
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
||||
<title>Generic: Simple Security Object</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
@@ -25,25 +27,11 @@
|
||||
<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>
|
||||
<page>1</page>
|
||||
<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
|
||||
<verify>1</verify>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,11 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE template SYSTEM "template.dtd">
|
||||
|
||||
<template>
|
||||
<title>Address Book Entry</title>
|
||||
<regexp>^uid=.*,</regexp>
|
||||
<description>Address Book Entry</description>
|
||||
<icon>images/user.png</icon>
|
||||
<visible>0</visible>
|
||||
<rdn>uid</rdn>
|
||||
<invalid>0</invalid>
|
||||
<rdn>cn</rdn>
|
||||
<regexp>^uid=.*,</regexp>
|
||||
<title>Generic: Address Book Entry</title>
|
||||
<visible>1</visible>
|
||||
|
||||
<objectClasses>
|
||||
<objectClass id="inetOrgPerson"></objectClass>
|
||||
@@ -16,18 +19,24 @@
|
||||
<attribute id="givenName">
|
||||
<display>First name</display>
|
||||
<icon>images/uid.png</icon>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>1</order>
|
||||
</attribute>
|
||||
<attribute id="sn">
|
||||
<display>Last name</display>
|
||||
<onchange>autoFill:cn,%givenName% %sn%</onchange>
|
||||
<onchange>=autoFill(cn;%givenName% %sn%)</onchange>
|
||||
<order>2</order>
|
||||
</attribute>
|
||||
<attribute id="cn">
|
||||
<display>Common Name</display>
|
||||
<readonly>1</readonly>
|
||||
<order>3</order>
|
||||
<readonly>1</readonly>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="jpegPhoto">
|
||||
<display>Photo</display>
|
||||
<order>3</order>
|
||||
<readonly>0</readonly>
|
||||
<spacer>1</spacer>
|
||||
</attribute>
|
||||
<attribute id="o">
|
||||
@@ -35,21 +44,22 @@
|
||||
<order>4</order>
|
||||
</attribute>
|
||||
<attribute id="street">
|
||||
<cols>50</cols>
|
||||
<display>Street</display>
|
||||
<icon>images/mail.png</icon>
|
||||
<type>textarea</type>
|
||||
<cols>50</cols>
|
||||
<rows>4</rows>
|
||||
<order>5</order>
|
||||
<rows>4</rows>
|
||||
<type>textarea</type>
|
||||
</attribute>
|
||||
<attribute id="l">
|
||||
<display>City</display>
|
||||
<option>Berlin</option>
|
||||
<option>London</option>
|
||||
<option>Paris</option>
|
||||
<option>Washington</option>
|
||||
<option>Other</option>
|
||||
<order>6</order>
|
||||
<type>select</type>
|
||||
<value id="Berlin">Berlin</value>
|
||||
<value id="London">London</value>
|
||||
<value id="Paris">Paris</value>
|
||||
<value id="Washington">Washington</value>
|
||||
<value id="Other">Other</value>
|
||||
</attribute>
|
||||
<attribute id="st">
|
||||
<display>State</display>
|
||||
@@ -79,4 +89,5 @@
|
||||
<order>12</order>
|
||||
</attribute>
|
||||
</attributes>
|
||||
|
||||
</template>
|
||||
|
@@ -1,11 +1,13 @@
|
||||
<!-- ==========================================================================
|
||||
This is the DTD for phpLDAPAdmin Templates (draft).
|
||||
<!--
|
||||
==========================================================================
|
||||
This is the DTD for phpLDAPAdmin Templates.
|
||||
|
||||
Copyright (c) 2005 <adezorzi AT rhx DOT it>
|
||||
Copyright (c) 2009
|
||||
|
||||
temporary URI for the DTD: http://www.phamm.org/DTD/pla-template-strict.dtd
|
||||
Validate your templates here: http://www.stg.brown.edu/service/xmlvalid/
|
||||
========================================================================== -->
|
||||
Temporary URI for the DTD: http://phpldapadmin.sf.net/release/templates/template.dtd
|
||||
Validate your templates here: http://www.xmlvalidation.com
|
||||
==========================================================================
|
||||
-->
|
||||
|
||||
<!-- Unused -->
|
||||
<!ENTITY % Boolean "(0 | 1)">
|
||||
@@ -13,9 +15,8 @@
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<!-- Template Definition -->
|
||||
<!ELEMENT template (title,regexp?,icon?,description?,askcontainer?,rdn?,
|
||||
destinationcontainer?,action?,leaf?,
|
||||
visible?,invalid?,objectClasses,attributes)>
|
||||
<!ELEMENT template (askcontainer?,description?,icon?,invalid?,rdn?,regexp?,
|
||||
title,visible?,objectClasses,attributes)>
|
||||
|
||||
<!-- ObjectClasses Definition -->
|
||||
<!ELEMENT objectClasses (objectClass+)>
|
||||
@@ -24,53 +25,47 @@
|
||||
|
||||
<!-- Attributes Definition -->
|
||||
<!ELEMENT attributes (attribute*)>
|
||||
<!ELEMENT attribute (array?, value*, cols?, description?, display?, helper?, hidden?, readonly?, hint?,
|
||||
icon?, onchange*, order?, override?, page?, post?,minvalnb?,maxvalnb?,
|
||||
presubmit?, rows?, spacer*, type?, option*, verify?)>
|
||||
<!ELEMENT attribute (cols?,default?,display?,helper?,hidden?,hint?,icon?,
|
||||
maxlength?,onchange*,order?,page?,post?,presubmit?,readonly?,rows?,size?,
|
||||
spacer?,type?,value*,verify?)?>
|
||||
<!ATTLIST attribute id CDATA #REQUIRED>
|
||||
|
||||
<!-- helper -->
|
||||
<!ELEMENT helper (value*,display?,hint?,id?,location?,option*)>
|
||||
<!ELEMENT helper (default?,display?,id?,value*)>
|
||||
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<!-- Common Parameters -->
|
||||
<!ELEMENT icon (#PCDATA)>
|
||||
<!ELEMENT hint (#PCDATA)>
|
||||
<!ELEMENT description (#PCDATA)>
|
||||
<!ELEMENT default (#PCDATA)>
|
||||
<!ELEMENT display (#PCDATA)>
|
||||
<!ELEMENT value (#PCDATA)>
|
||||
|
||||
<!-- Header Parameters -->
|
||||
<!ELEMENT title (#PCDATA)>
|
||||
<!ELEMENT regexp (#PCDATA)>
|
||||
<!ELEMENT askcontainer (#PCDATA)>
|
||||
<!ELEMENT rdn (#PCDATA)>
|
||||
<!ELEMENT visible (#PCDATA)>
|
||||
<!ELEMENT description (#PCDATA)>
|
||||
<!ELEMENT invalid (#PCDATA)>
|
||||
<!ELEMENT destinationcontainer (#PCDATA)>
|
||||
<!ELEMENT action (#PCDATA)>
|
||||
<!ELEMENT leaf (#PCDATA)>
|
||||
<!ELEMENT rdn (#PCDATA)>
|
||||
<!ELEMENT regexp (#PCDATA)>
|
||||
<!ELEMENT title (#PCDATA)>
|
||||
<!ELEMENT visible (#PCDATA)>
|
||||
|
||||
<!-- Attribute Parameters -->
|
||||
<!ELEMENT array (#PCDATA)>
|
||||
<!ELEMENT minvalnb (#PCDATA)>
|
||||
<!ELEMENT maxvalnb (#PCDATA)>
|
||||
<!ELEMENT cols (#PCDATA)>
|
||||
<!ELEMENT value (#PCDATA)>
|
||||
<!ELEMENT hidden (#PCDATA)>
|
||||
<!ELEMENT readonly (#PCDATA)>
|
||||
<!ELEMENT hint (#PCDATA)>
|
||||
<!ELEMENT maxlength (#PCDATA)>
|
||||
<!ELEMENT onchange (#PCDATA)>
|
||||
<!ELEMENT order (#PCDATA)>
|
||||
<!ELEMENT override (#PCDATA)>
|
||||
<!ELEMENT page (#PCDATA)>
|
||||
<!ELEMENT post (#PCDATA)>
|
||||
<!ELEMENT presubmit (#PCDATA)>
|
||||
<!ELEMENT readonly (#PCDATA)>
|
||||
<!ELEMENT rows (#PCDATA)>
|
||||
<!ELEMENT size (#PCDATA)>
|
||||
<!ELEMENT spacer (#PCDATA)>
|
||||
<!ELEMENT type (#PCDATA)>
|
||||
<!ELEMENT verify (#PCDATA)>
|
||||
|
||||
<!-- Helper Parameters -->
|
||||
<!ELEMENT id (#PCDATA)>
|
||||
<!ELEMENT location (#PCDATA)>
|
||||
<!ELEMENT option (#PCDATA)>
|
||||
|
Reference in New Issue
Block a user