phpldapadmin/templates/posixGroup.xml
2009-06-30 20:41:18 +10:00

40 lines
1.0 KiB
XML

<?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>
<rdn>cn</rdn>
<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>
<hint>Automatically determined</hint>
<order>2</order>
<page>1</page>
<presubmit>=php.GetNextNumber(/,gid)</presubmit>
<spacer>1</spacer>
<!-- <value>=php.GetNextNumber(/,gid,false,(&amp;(objectClass=posixGroup)),*2;+1000)</value> -->
</attribute>
<attribute id="memberUid">
<display>Users</display>
<value>=php.MultiList(/,(objectClass=posixAccount),uid,%cn% (%uid|-4%))</value>
<hidden>0</hidden>
<order>3</order>
<page>1</page>
</attribute>
</attributes>
</template>