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 Machine</description>
|
2009-07-08 06:14:50 +00:00
|
|
|
<icon>server.png</icon>
|
2009-07-01 06:09:17 +00:00
|
|
|
<invalid>0</invalid>
|
2009-06-30 09:40:37 +00:00
|
|
|
<rdn>uid</rdn>
|
2009-07-01 06:09:17 +00:00
|
|
|
<!--<regexp>^ou=People,o=.*,</regexp>-->
|
|
|
|
<title>Samba: Machine</title>
|
2009-06-30 09:40:37 +00:00
|
|
|
<visible>1</visible>
|
|
|
|
|
|
|
|
<objectClasses>
|
|
|
|
<objectClass id="sambaSAMAccount"></objectClass>
|
|
|
|
<objectClass id="posixAccount"></objectClass>
|
|
|
|
<objectClass id="account"></objectClass>
|
|
|
|
</objectClasses>
|
|
|
|
|
|
|
|
<attributes>
|
|
|
|
<attribute id="uid">
|
|
|
|
<display>Machine Name</display>
|
|
|
|
<hint>The machine name should end with a $</hint>
|
2009-07-08 06:14:50 +00:00
|
|
|
<icon>terminal.png</icon>
|
2009-07-01 06:09:17 +00:00
|
|
|
<onchange>=autoFill(cn;%uid%)</onchange>
|
2009-06-30 09:40:37 +00:00
|
|
|
<order>1</order>
|
|
|
|
<page>1</page>
|
|
|
|
</attribute>
|
|
|
|
<attribute id="uidNumber">
|
2009-07-01 06:09:17 +00:00
|
|
|
<display>UID Number</display>
|
|
|
|
<order>2</order>
|
|
|
|
<page>1</page>
|
2009-06-30 10:46:00 +00:00
|
|
|
<readonly>1</readonly>
|
2009-07-01 06:09:17 +00:00
|
|
|
<value>=php.GetNextNumber(/;uidNumber)</value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="gidNumber">
|
2009-07-01 06:09:17 +00:00
|
|
|
<display>GID Number</display>
|
|
|
|
<order>3</order>
|
|
|
|
<page>1</page>
|
2010-01-29 23:58:06 +00:00
|
|
|
<value><![CDATA[=php.PickList(/;(&(objectClass=posixGroup));gidNumber;%cn%;;;;cn)]]></value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="sambaSID">
|
|
|
|
<display>Samba SID</display>
|
|
|
|
<helper>
|
|
|
|
<id>sidsuffix</id>
|
|
|
|
<value></value>
|
|
|
|
</helper>
|
|
|
|
<order>2</order>
|
|
|
|
<page>1</page>
|
2009-07-01 06:09:17 +00:00
|
|
|
<post>=php.Join(-;%sambaSID%,%sidsuffix%)</post>
|
2010-01-29 23:58:06 +00:00
|
|
|
<value><![CDATA[=php.PickList(/;(&(objectClass=sambaDomain));sambaSID;%sambaSID% (%sambaDomainName%);;;;sambaDomainName)]]></value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="sambaAcctFlags">
|
2009-06-30 10:46:00 +00:00
|
|
|
<hidden>1</hidden>
|
2009-07-01 06:09:17 +00:00
|
|
|
<value>[W]</value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="homeDirectory">
|
2009-06-30 10:46:00 +00:00
|
|
|
<hidden>1</hidden>
|
2009-07-01 06:09:17 +00:00
|
|
|
<value>/dev/null</value>
|
2009-06-30 09:40:37 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute id="cn">
|
2009-06-30 10:46:00 +00:00
|
|
|
<hidden>1</hidden>
|
2009-07-01 06:09:17 +00:00
|
|
|
<value></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>
|