2009-06-30 09:40:37 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
|
<!DOCTYPE template SYSTEM "template.dtd">
|
2009-07-01 06:09:17 +00:00
|
|
|
|
2009-06-30 09:40:37 +00:00
|
|
|
<template>
|
|
|
|
<askcontainer>1</askcontainer>
|
2009-07-01 06:09:17 +00:00
|
|
|
<description>New Samba3 Group Mapping</description>
|
2009-07-08 10:10:57 +00:00
|
|
|
<icon>ldap-ou.png</icon>
|
2009-07-01 06:09:17 +00:00
|
|
|
<invalid>0</invalid>
|
2009-06-30 09:40:37 +00:00
|
|
|
<rdn>cn</rdn>
|
2009-07-01 06:09:17 +00:00
|
|
|
<!-- <regexp>^ou=.*,</regexp> -->
|
|
|
|
<title>Samba: Group Mapping</title>
|
2009-06-30 09:40:37 +00:00
|
|
|
<visible>1</visible>
|
|
|
|
|
|
|
|
<objectClasses>
|
|
|
|
<objectClass id="posixGroup"></objectClass>
|
|
|
|
<objectClass id="sambaGroupMapping"></objectClass>
|
|
|
|
</objectClasses>
|
|
|
|
|
|
|
|
<attributes>
|
|
|
|
<attribute id="cn">
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>Group</display>
|
2009-06-30 09:40:37 +00:00
|
|
|
<order>1</order>
|
|
|
|
<page>1</page>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="displayName">
|
|
|
|
<display>Windows Name</display>
|
|
|
|
<order>2</order>
|
|
|
|
<page>1</page>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="gidNumber">
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>GID Number</display>
|
2009-06-30 09:40:37 +00:00
|
|
|
<order>3</order>
|
|
|
|
<page>1</page>
|
2009-07-01 06:09:17 +00:00
|
|
|
<readonly>1</readonly>
|
2009-06-30 09:40:37 +00:00
|
|
|
<spacer>1</spacer>
|
2009-07-01 06:09:17 +00:00
|
|
|
<value><![CDATA[=php.GetNextNumber(/;gidNumber;true;(&(objectClass=sambaDomain)(sambaDomainName=mysambadomain))]]></value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="sambaSID">
|
|
|
|
<display>Samba SID</display>
|
|
|
|
<helper>
|
|
|
|
<id>sidsuffix</id>
|
2009-07-01 06:09:17 +00:00
|
|
|
<value><![CDATA[=php.GetNextNumber(/;gidNumber;false;(&(objectClass=sambaDomain)(sambaDomainName=mysambadomain));*2,+1000)]]></value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</helper>
|
|
|
|
<order>4</order>
|
2009-07-01 06:09:17 +00:00
|
|
|
<post>=php.Join(-;%sambaSID%,%sidsuffix%)</post>
|
2009-06-30 09:40:37 +00:00
|
|
|
<page>1</page>
|
2010-05-17 12:08:52 +00:00
|
|
|
<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID% (%sambaDomainName%);;;;sambaDomainName)]]></value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="sambaGroupType">
|
|
|
|
<display>Samba Group Type</display>
|
|
|
|
<order>5</order>
|
|
|
|
<page>1</page>
|
|
|
|
<spacer>1</spacer>
|
2009-07-01 06:09:17 +00:00
|
|
|
<type>select</type>
|
|
|
|
<value id="2">Domain Group</value>
|
|
|
|
<value id="4">Local Group</value>
|
|
|
|
<value id="5">Well-known Group</value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="memberUid">
|
2009-06-30 10:26:08 +00:00
|
|
|
<display>Users</display>
|
2009-06-30 09:40:37 +00:00
|
|
|
<hidden>0</hidden>
|
|
|
|
<order>10</order>
|
|
|
|
<page>1</page>
|
2009-07-01 06:09:17 +00:00
|
|
|
<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> -->
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
</attributes>
|
2009-07-01 06:09:17 +00:00
|
|
|
|
2009-06-30 09:40:37 +00:00
|
|
|
</template>
|