Added posixGroup modification template

This commit is contained in:
Deon George 2009-07-04 15:08:34 +10:00
parent 97fcaed8f7
commit 4f6d661c12

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<template>
<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>
<objectClass id="posixGroup"></objectClass>
</objectClasses>
<attributes>
<attribute id="cn">
<display>Group</display>
<order>1</order>
<page>1</page>
</attribute>
<attribute id="gidNumber">
<display>GID Number</display>
<!-- <option><![CDATA[=php.GetNextNumber(/;gidNumber;false;(&(objectClass=posixGroup));*2,+1000)]]></option> -->
<order>2</order>
<page>1</page>
<readonly>1</readonly>
<spacer>1</spacer>
<value>=php.GetNextNumber(/;gidNumber)</value>
</attribute>
<attribute id="memberUid">
<display>Users</display>
<hidden>0</hidden>
<order>3</order>
<page>1</page>
<value><![CDATA[=php.MultiList(/;(objectClass=posixAccount);uid;%cn% (%uid|-4%))]]></value>
</attribute>
</attributes>
</template>