phpldapadmin/templates/creation/SUSE-sambaGroupMapping.xml
2009-06-30 20:46:00 +10:00

69 lines
1.7 KiB
XML

<?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>