Latest SANDPIT - MERGE from CVS (MERGE-GIT)
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user