directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r585531 [2/2] - in /directory/studio/trunk/studio-schemaeditor: resources/schemas/ resources/schemas/apacheds/ resources/schemas/openldap/ src/main/java/org/apache/directory/studio/schemaeditor/ src/main/java/org/apache/directory/studio/sch...
Date Wed, 17 Oct 2007 15:02:23 GMT
Added: directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/dyngroup.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/dyngroup.xml?rev=585531&view=auto
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/dyngroup.xml (added)
+++ directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/dyngroup.xml Wed Oct 17 08:02:12 2007
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="dyngroup">
+   <attributetypes>
+      <attributetype oid="2.16.840.1.113730.3.1" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>memberURL</alias>
+         </aliases>
+         <description>Identifies an URL associated with each member of a group. Any type of labeled URL can be used.</description>
+         <superior>labeledURI</superior>
+         <usage>USER_APPLICATIONS</usage>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="2.16.840.1.113730.3.2.33" obsolete="false">
+         <aliases>
+            <alias>groupOfURLs</alias>
+         </aliases>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>memberURL</attributetype>
+            <attributetype>businessCategory</attributetype>
+            <attributetype>description</attributetype>
+            <attributetype>o</attributetype>
+            <attributetype>ou</attributetype>
+            <attributetype>owner</attributetype>
+            <attributetype>seeAlso</attributetype>
+         </optional>
+      </objectclass>
+   </objectclasses>
+</schema>
\ No newline at end of file

Added: directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/inetorgperson.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/inetorgperson.xml?rev=585531&view=auto
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/inetorgperson.xml (added)
+++ directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/inetorgperson.xml Wed Oct 17 08:02:12 2007
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="inetorgperson">
+   <attributetypes>
+      <attributetype oid="2.16.840.1.113730.3.1.1" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>carLicense</alias>
+         </aliases>
+         <description>RFC2798: vehicle license or registration plate</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.2" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>departmentNumber</alias>
+         </aliases>
+         <description>RFC2798: identifies a department within an organization</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.241" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>displayName</alias>
+         </aliases>
+         <description>RFC2798: preferred name to be used when displaying entries</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.3" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>employeeNumber</alias>
+         </aliases>
+         <description>RFC2798: numerically identifies an employee within an organization</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.4" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>employeeType</alias>
+         </aliases>
+         <description>RFC2798: type of employment for a person</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="0.9.2342.19200300.100.1.60" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>jpegPhoto</alias>
+         </aliases>
+         <description>RFC2798: a JPEG image</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.28</syntax>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.39" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>preferredLanguage</alias>
+         </aliases>
+         <description>RFC2798: preferred written or spoken language for a person</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.40" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>userSMIMECertificate</alias>
+         </aliases>
+         <description>RFC2798: PKCS#7 SignedData used to support S/MIME</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.5</syntax>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.216" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>userPKCS12</alias>
+         </aliases>
+         <description>RFC2798: personal identity information, a PKCS #12 PFX</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.5</syntax>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="2.16.840.1.113730.3.2.2" obsolete="false">
+         <aliases>
+            <alias>inetOrgPerson</alias>
+         </aliases>
+         <description>RFC2798: Internet Organizational Person</description>
+         <superiors>
+            <superior>organizationalPerson</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <optional>
+            <attributetype>audio</attributetype>
+            <attributetype>businessCategory</attributetype>
+            <attributetype>carLicense</attributetype>
+            <attributetype>departmentNumber</attributetype>
+            <attributetype>displayName</attributetype>
+            <attributetype>employeeNumber</attributetype>
+            <attributetype>employeeType</attributetype>
+            <attributetype>givenName</attributetype>
+            <attributetype>homePhone</attributetype>
+            <attributetype>homePostalAddress</attributetype>
+            <attributetype>initials</attributetype>
+            <attributetype>jpegPhoto</attributetype>
+            <attributetype>labeledURI</attributetype>
+            <attributetype>mail</attributetype>
+            <attributetype>manager</attributetype>
+            <attributetype>mobile</attributetype>
+            <attributetype>o</attributetype>
+            <attributetype>pager</attributetype>
+            <attributetype>photo</attributetype>
+            <attributetype>roomNumber</attributetype>
+            <attributetype>secretary</attributetype>
+            <attributetype>uid</attributetype>
+            <attributetype>userCertificate</attributetype>
+            <attributetype>x500uniqueIdentifier</attributetype>
+            <attributetype>preferredLanguage</attributetype>
+            <attributetype>userSMIMECertificate</attributetype>
+            <attributetype>userPKCS12</attributetype>
+         </optional>
+      </objectclass>
+   </objectclasses>
+</schema>
\ No newline at end of file

Added: directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/java.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/java.xml?rev=585531&view=auto
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/java.xml (added)
+++ directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/java.xml Wed Oct 17 08:02:12 2007
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="java">
+   <attributetypes>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.4.1.6" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>javaClassName</alias>
+         </aliases>
+         <description>Fully qualified name of distinguished Java class or interface</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.4.1.7" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>javaCodebase</alias>
+         </aliases>
+         <description>URL(s) specifying the location of class definition</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.4.1.13" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>javaClassNames</alias>
+         </aliases>
+         <description>Fully qualified Java class or interface name</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.4.1.8" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>javaSerializedData</alias>
+         </aliases>
+         <description>Serialized form of a Java object</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.40</syntax>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.4.1.10" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>javaFactory</alias>
+         </aliases>
+         <description>Fully qualified Java class name of a JNDI object factory</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.4.1.11" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>javaReferenceAddress</alias>
+         </aliases>
+         <description>Addresses associated with a JNDI Reference</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.4.1.12" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>javaDoc</alias>
+         </aliases>
+         <description>The Java documentation for the class</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="1.3.6.1.4.1.42.2.27.4.2.1" obsolete="false">
+         <aliases>
+            <alias>javaContainer</alias>
+         </aliases>
+         <description>Container for a Java object</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+         </mandatory>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.42.2.27.4.2.4" obsolete="false">
+         <aliases>
+            <alias>javaObject</alias>
+         </aliases>
+         <description>Java object representation</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>ABSTRACT</type>
+         <mandatory>
+            <attributetype>javaClassName</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>javaClassNames</attributetype>
+            <attributetype>javaCodebase</attributetype>
+            <attributetype>javaDoc</attributetype>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.42.2.27.4.2.5" obsolete="false">
+         <aliases>
+            <alias>javaSerializedObject</alias>
+         </aliases>
+         <description>Java serialized object</description>
+         <superiors>
+            <superior>javaObject</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>javaSerializedData</attributetype>
+         </mandatory>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.42.2.27.4.2.8" obsolete="false">
+         <aliases>
+            <alias>javaMarshalledObject</alias>
+         </aliases>
+         <description>Java marshalled object</description>
+         <superiors>
+            <superior>javaObject</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>javaSerializedData</attributetype>
+         </mandatory>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.42.2.27.4.2.7" obsolete="false">
+         <aliases>
+            <alias>javaNamingReference</alias>
+         </aliases>
+         <description>JNDI reference</description>
+         <superiors>
+            <superior>javaObject</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <optional>
+            <attributetype>javaReferenceAddress</attributetype>
+            <attributetype>javaFactory</attributetype>
+         </optional>
+      </objectclass>
+   </objectclasses>
+</schema>
\ No newline at end of file

Added: directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/misc.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/misc.xml?rev=585531&view=auto
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/misc.xml (added)
+++ directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/misc.xml Wed Oct 17 08:02:12 2007
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="misc">
+   <attributetypes>
+      <attributetype oid="2.16.840.1.113730.3.1.13" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>mailLocalAddress</alias>
+         </aliases>
+         <description>RFC822 email address of this recipient</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <syntaxlength>256</syntaxlength>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.18" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>mailHost</alias>
+         </aliases>
+         <description>FQDN of the SMTP/MTA of this recipient</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <syntaxlength>256</syntaxlength>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.47" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>mailRoutingAddress</alias>
+         </aliases>
+         <description>RFC822 routing address of this recipient</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <syntaxlength>256</syntaxlength>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.2.1.15" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>rfc822MailMember</alias>
+         </aliases>
+         <description>rfc822 mail address of group member(s)</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="2.16.840.1.113730.3.2.147" obsolete="false">
+         <aliases>
+            <alias>inetLocalMailRecipient</alias>
+         </aliases>
+         <description>Internet local mail recipient</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <optional>
+            <attributetype>mailLocalAddress</attributetype>
+            <attributetype>mailHost</attributetype>
+            <attributetype>mailRoutingAddress</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.42.2.27.1.2.5" obsolete="false">
+         <aliases>
+            <alias>nisMailAlias</alias>
+         </aliases>
+         <description>NIS mail alias</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>rfc822MailMember</attributetype>
+         </optional>
+      </objectclass>
+   </objectclasses>
+</schema>
\ No newline at end of file

Added: directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/nis.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/nis.xml?rev=585531&view=auto
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/nis.xml (added)
+++ directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/nis.xml Wed Oct 17 08:02:12 2007
@@ -0,0 +1,460 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="nis">
+   <attributetypes>
+      <attributetype oid="1.3.6.1.1.1.1.2" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>gecos</alias>
+         </aliases>
+         <description>The GECOS field; the common name</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+         <substring>caseIgnoreIA5SubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.3" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>homeDirectory</alias>
+         </aliases>
+         <description>The absolute path to the home directory</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.4" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>loginShell</alias>
+         </aliases>
+         <description>The path to the login shell</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.5" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>shadowLastChange</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.6" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>shadowMin</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.7" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>shadowMax</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.8" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>shadowWarning</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.9" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>shadowInactive</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.10" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>shadowExpire</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.11" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>shadowFlag</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.12" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>memberUid</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+         <substring>caseExactIA5SubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.13" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>memberNisNetgroup</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+         <substring>caseExactIA5SubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.14" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>nisNetgroupTriple</alias>
+         </aliases>
+         <description>Netgroup triple</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.1.1.0.0</syntax>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.15" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>ipServicePort</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.16" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>ipServiceProtocol</alias>
+         </aliases>
+         <superior>name</superior>
+         <usage>USER_APPLICATIONS</usage>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.17" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>ipProtocolNumber</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.18" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>oncRpcNumber</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.19" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>ipHostNumber</alias>
+         </aliases>
+         <description>IP address</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <syntaxlength>128</syntaxlength>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.20" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>ipNetworkNumber</alias>
+         </aliases>
+         <description>IP network</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <syntaxlength>128</syntaxlength>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.21" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>ipNetmaskNumber</alias>
+         </aliases>
+         <description>IP netmask</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <syntaxlength>128</syntaxlength>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.22" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>macAddress</alias>
+         </aliases>
+         <description>MAC address</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <syntaxlength>128</syntaxlength>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.23" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>bootParameter</alias>
+         </aliases>
+         <description>rpc.bootparamd parameter</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.1.1.0.1</syntax>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.24" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>bootFile</alias>
+         </aliases>
+         <description>Boot image name</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.26" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>nisMapName</alias>
+         </aliases>
+         <superior>name</superior>
+         <usage>USER_APPLICATIONS</usage>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.1.1.27" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>nisMapEntry</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <syntaxlength>1024</syntaxlength>
+         <equality>caseExactIA5Match</equality>
+         <substring>caseExactIA5SubstringsMatch</substring>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="1.3.6.1.1.1.2.0" obsolete="false">
+         <aliases>
+            <alias>posixAccount</alias>
+         </aliases>
+         <description>Abstraction of an account with POSIX attributes</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>uid</attributetype>
+            <attributetype>uidNumber</attributetype>
+            <attributetype>gidNumber</attributetype>
+            <attributetype>homeDirectory</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>userPassword</attributetype>
+            <attributetype>loginShell</attributetype>
+            <attributetype>gecos</attributetype>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.1" obsolete="false">
+         <aliases>
+            <alias>shadowAccount</alias>
+         </aliases>
+         <description>Additional attributes for shadow passwords</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>uid</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>userPassword</attributetype>
+            <attributetype>shadowLastChange</attributetype>
+            <attributetype>shadowMin</attributetype>
+            <attributetype>shadowMax</attributetype>
+            <attributetype>shadowWarning</attributetype>
+            <attributetype>shadowInactive</attributetype>
+            <attributetype>shadowExpire</attributetype>
+            <attributetype>shadowFlag</attributetype>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.2" obsolete="false">
+         <aliases>
+            <alias>posixGroup</alias>
+         </aliases>
+         <description>Abstraction of a group of accounts</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>gidNumber</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>userPassword</attributetype>
+            <attributetype>memberUid</attributetype>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.3" obsolete="false">
+         <aliases>
+            <alias>ipService</alias>
+         </aliases>
+         <description>Abstraction an Internet Protocol service</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>ipServicePort</attributetype>
+            <attributetype>ipServiceProtocol</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.4" obsolete="false">
+         <aliases>
+            <alias>ipProtocol</alias>
+         </aliases>
+         <description>Abstraction of an IP protocol</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>ipProtocolNumber</attributetype>
+            <attributetype>description</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.5" obsolete="false">
+         <aliases>
+            <alias>oncRpc</alias>
+         </aliases>
+         <description>Abstraction of an ONC/RPC binding</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>oncRpcNumber</attributetype>
+            <attributetype>description</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.6" obsolete="false">
+         <aliases>
+            <alias>ipHost</alias>
+         </aliases>
+         <description>Abstraction of a host, an IP device</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>ipHostNumber</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>l</attributetype>
+            <attributetype>description</attributetype>
+            <attributetype>manager</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.7" obsolete="false">
+         <aliases>
+            <alias>ipNetwork</alias>
+         </aliases>
+         <description>Abstraction of an IP network</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>ipNetworkNumber</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>ipNetmaskNumber</attributetype>
+            <attributetype>l</attributetype>
+            <attributetype>description</attributetype>
+            <attributetype>manager</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.8" obsolete="false">
+         <aliases>
+            <alias>nisNetgroup</alias>
+         </aliases>
+         <description>Abstraction of a netgroup</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>nisNetgroupTriple</attributetype>
+            <attributetype>memberNisNetgroup</attributetype>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.9" obsolete="false">
+         <aliases>
+            <alias>nisMap</alias>
+         </aliases>
+         <description>A generic abstraction of a NIS map</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>nisMapName</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.10" obsolete="false">
+         <aliases>
+            <alias>nisObject</alias>
+         </aliases>
+         <description>An entry in a NIS map</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>nisMapEntry</attributetype>
+            <attributetype>nisMapName</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.11" obsolete="false">
+         <aliases>
+            <alias>ieee802Device</alias>
+         </aliases>
+         <description>A device with a MAC address</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <optional>
+            <attributetype>macAddress</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.1.1.2.12" obsolete="false">
+         <aliases>
+            <alias>bootableDevice</alias>
+         </aliases>
+         <description>A device with boot parameters</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <optional>
+            <attributetype>bootFile</attributetype>
+            <attributetype>bootParameter</attributetype>
+         </optional>
+      </objectclass>
+   </objectclasses>
+</schema>
\ No newline at end of file

Added: directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/openldap.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/openldap.xml?rev=585531&view=auto
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/openldap.xml (added)
+++ directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/openldap.xml Wed Oct 17 08:02:12 2007
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="openldap">
+   <objectclasses>
+      <objectclass oid="1.3.6.1.4.1.4203.1.4.3" obsolete="false">
+         <aliases>
+            <alias>OpenLDAPorg</alias>
+         </aliases>
+         <description>OpenLDAP Organizational Object</description>
+         <superiors>
+            <superior>organization</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <optional>
+            <attributetype>buildingName</attributetype>
+            <attributetype>displayName</attributetype>
+            <attributetype>labeledURI</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.4203.1.4.4" obsolete="false">
+         <aliases>
+            <alias>OpenLDAPou</alias>
+         </aliases>
+         <description>OpenLDAP Organizational Unit Object</description>
+         <superiors>
+            <superior>organizationalUnit</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <optional>
+            <attributetype>buildingName</attributetype>
+            <attributetype>displayName</attributetype>
+            <attributetype>labeledURI</attributetype>
+            <attributetype>o</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.4203.1.4.5" obsolete="false">
+         <aliases>
+            <alias>OpenLDAPperson</alias>
+         </aliases>
+         <description>OpenLDAP Person</description>
+         <superiors>
+            <superior>pilotPerson</superior>
+            <superior>inetOrgPerson</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>uid</attributetype>
+            <attributetype>cn</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>givenName</attributetype>
+            <attributetype>labeledURI</attributetype>
+            <attributetype>o</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.4203.1.4.6" obsolete="false">
+         <aliases>
+            <alias>OpenLDAPdisplayableObject</alias>
+         </aliases>
+         <description>OpenLDAP Displayable Object</description>
+         <type>AUXILIARY</type>
+         <optional>
+            <attributetype>displayName</attributetype>
+         </optional>
+      </objectclass>
+   </objectclasses>
+</schema>
\ No newline at end of file

Added: directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/ppolicy.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/ppolicy.xml?rev=585531&view=auto
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/ppolicy.xml (added)
+++ directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/ppolicy.xml Wed Oct 17 08:02:12 2007
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="ppolicy">
+   <attributetypes>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.1" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdAttribute</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+         <equality>objectIdentifierMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.2" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdMinAge</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.3" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdMaxAge</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.4" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdInHistory</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.5" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdCheckQuality</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.6" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdMinLength</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.7" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdExpireWarning</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.8" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdGraceAuthNLimit</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.9" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdLockout</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
+         <equality>booleanMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.10" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdLockoutDuration</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.11" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdMaxFailure</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.12" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdFailureCountInterval</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.13" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdMustChange</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
+         <equality>booleanMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.14" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdAllowUserChange</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
+         <equality>booleanMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.42.2.27.8.1.15" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdSafeModify</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
+         <equality>booleanMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.4754.1.99.1" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>pwdCheckModule</alias>
+         </aliases>
+         <description>Loadable module that instantiates \"check_password() function</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="1.3.6.1.4.1.4754.2.99.1" obsolete="false">
+         <aliases>
+            <alias>pwdPolicyChecker</alias>
+         </aliases>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <optional>
+            <attributetype>pwdCheckModule</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.42.2.27.8.2.1" obsolete="false">
+         <aliases>
+            <alias>pwdPolicy</alias>
+         </aliases>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>pwdAttribute</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>pwdMinAge</attributetype>
+            <attributetype>pwdMaxAge</attributetype>
+            <attributetype>pwdInHistory</attributetype>
+            <attributetype>pwdCheckQuality</attributetype>
+            <attributetype>pwdMinLength</attributetype>
+            <attributetype>pwdExpireWarning</attributetype>
+            <attributetype>pwdGraceAuthNLimit</attributetype>
+            <attributetype>pwdLockout</attributetype>
+            <attributetype>pwdLockoutDuration</attributetype>
+            <attributetype>pwdMaxFailure</attributetype>
+            <attributetype>pwdFailureCountInterval</attributetype>
+            <attributetype>pwdMustChange</attributetype>
+            <attributetype>pwdAllowUserChange</attributetype>
+            <attributetype>pwdSafeModify</attributetype>
+         </optional>
+      </objectclass>
+   </objectclasses>
+</schema>
\ No newline at end of file

Added: directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/system.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/system.xml?rev=585531&view=auto
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/system.xml (added)
+++ directory/studio/trunk/studio-schemaeditor/resources/schemas/openldap/system.xml Wed Oct 17 08:02:12 2007
@@ -0,0 +1,501 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="system">
+   <attributetypes>
+      <attributetype oid="2.5.4.0" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>objectClass</alias>
+         </aliases>
+         <description>RFC2256: object classes of the entity</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+         <equality>objectIdentifierMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.1" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>aliasedObjectName</alias>
+            <alias>aliasedEntryName</alias>
+         </aliases>
+         <description>RFC2256: name of aliased object</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+         <equality>distinguishedNameMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.3" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>cn</alias>
+            <alias>commonName</alias>
+         </aliases>
+         <description>RFC2256: common name(s) for which the entity is known by</description>
+         <superior>name</superior>
+         <usage>USER_APPLICATIONS</usage>
+      </attributetype>
+      <attributetype oid="2.5.4.13" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>description</alias>
+         </aliases>
+         <description>RFC2256: descriptive information</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <syntaxlength>1024</syntaxlength>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.5.4.34" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>seeAlso</alias>
+         </aliases>
+         <description>RFC2256: DN of related object</description>
+         <superior>distinguishedName</superior>
+         <usage>USER_APPLICATIONS</usage>
+      </attributetype>
+      <attributetype oid="2.5.4.35" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>userPassword</alias>
+         </aliases>
+         <description>RFC2256/2307: password of user</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.40</syntax>
+         <syntaxlength>128</syntaxlength>
+         <equality>octetStringMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.41" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>name</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <syntaxlength>32768</syntaxlength>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.5.4.49" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>distinguishedName</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+         <equality>distinguishedNameMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.250.1.57" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>labeledURI</alias>
+         </aliases>
+         <description>RFC2079: Uniform Resource Identifier with optional label</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="0.9.2342.19200300.100.1.1" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>uid</alias>
+            <alias>userid</alias>
+         </aliases>
+         <description>RFC1274: user identifier</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <syntaxlength>256</syntaxlength>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="2.5.6.0" obsolete="false">
+         <aliases>
+            <alias>top</alias>
+         </aliases>
+         <description>RFC2256: top of the superclass chain</description>
+         <type>ABSTRACT</type>
+         <mandatory>
+            <attributetype>objectClass</attributetype>
+         </mandatory>
+      </objectclass>
+      <objectclass oid="2.5.6.1" obsolete="false">
+         <aliases>
+            <alias>alias</alias>
+         </aliases>
+         <description>RFC2256: an alias</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>aliasedObjectName</attributetype>
+         </mandatory>
+      </objectclass>
+   </objectclasses>
+       <matchingrules>
+      <matchingrule oid="2.5.13.14" obsolete="false">
+         <aliases>
+            <alias>integerMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.27</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.3" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.4.1.1466.109.114.3" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreIA5SubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.26</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.4" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.4.1.1466.109.114.2" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreIA5Match</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.26</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.27" obsolete="false">
+         <aliases>
+            <alias>generalizedTimeMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.24</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.8" obsolete="false">
+         <aliases>
+            <alias>numericStringMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.36</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.1" obsolete="false">
+         <aliases>
+            <alias>distinguishedNameMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.12</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.13" obsolete="false">
+         <aliases>
+            <alias>booleanMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.7</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.6" obsolete="false">
+         <aliases>
+            <alias>caseExactOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.4.1.1466.109.114.1" obsolete="false">
+         <aliases>
+            <alias>caseExactIA5Match</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.26</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.0" obsolete="false">
+         <aliases>
+            <alias>objectIdentifierMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.38</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.29" obsolete="false">
+         <aliases>
+            <alias>integerFirstComponentMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.27</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.10" obsolete="false">
+         <aliases>
+            <alias>numericStringSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.7" obsolete="false">
+         <aliases>
+            <alias>caseExactSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.20" obsolete="false">
+         <aliases>
+            <alias>telephoneNumberMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.50</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.18" obsolete="false">
+         <aliases>
+            <alias>octetStringOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.40</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.15" obsolete="false">
+         <aliases>
+            <alias>integerOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.27</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.23" obsolete="false">
+         <aliases>
+            <alias>uniqueMemberMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.34</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.16" obsolete="false">
+         <aliases>
+            <alias>bitStringMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.6</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.30" obsolete="false">
+         <aliases>
+            <alias>objectIdentifierFirstComponentMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.38</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.5" obsolete="false">
+         <aliases>
+            <alias>caseExactMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.17" obsolete="false">
+         <aliases>
+            <alias>octetStringMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.40</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.28" obsolete="false">
+         <aliases>
+            <alias>generalizedTimeOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.24</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.21" obsolete="false">
+         <aliases>
+            <alias>telephoneNumberSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.2" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.1.16.2" obsolete="false">
+         <aliases>
+            <alias>UUIDMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.1.16.1</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.1.16.3" obsolete="false">
+         <aliases>
+            <alias>UUIDOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.1.16.1</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.4.1.1466.109.114.3" obsolete="false">
+         <aliases>
+            <alias>caseExactIA5SubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.26</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.34" obsolete="false">
+         <aliases>
+            <alias>certificateExactMatch</alias>
+         </aliases>
+         <syntaxoid>1.2.826.0.1.3344810.7.1</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.35" obsolete="false">
+         <aliases>
+            <alias>certificateMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.8</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.2.840.113556.1.4.803" obsolete="false">
+         <aliases>
+            <alias>integerBitAndMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.27</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.2.840.113556.1.4.804" obsolete="false">
+         <aliases>
+            <alias>integerBitOrMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.27</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.9" obsolete="false">
+         <aliases>
+            <alias>numericStringOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.36</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.19" obsolete="false">
+         <aliases>
+            <alias>octetStringSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.40</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.2.36.79672281.1.13.3" obsolete="false">
+         <aliases>
+            <alias>rdnMatch</alias>
+         </aliases>
+         <syntaxoid>1.2.36.79672281.1.5.0</syntaxoid>
+      </matchingrule>
+    </matchingrules>
+ <syntaxes>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.11" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Country String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.49" obsolete="false" humanreadable="false">
+         <aliases>
+            <alias>Supported Algorithm</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.38" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>OID</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.52" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Telex Number</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.22" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Facsimile Telephone Number</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.44" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Printable String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.15" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Directory String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.12" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>DN</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.45" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Subtree Specification</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.34" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Name And Optional UID</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.8" obsolete="false" humanreadable="false">
+         <aliases>
+            <alias>Certificate</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.41" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Postal Address</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.26" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>IA5 String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.40" obsolete="false" humanreadable="false">
+         <aliases>
+            <alias>Octet String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.6" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Bit String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.39" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Other Mailbox</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.7" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Boolean</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.27" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>INTEGER</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.24" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Generalized Time</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.4" obsolete="false" humanreadable="false">
+         <aliases>
+            <alias>Audio</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.9" obsolete="false" humanreadable="false">
+         <aliases>
+            <alias>Certificate List</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.36" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Numeric String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.14" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Delivery Method</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.28" obsolete="false" humanreadable="false">
+         <aliases>
+            <alias>JPEG</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.50" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>Telephone Number</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.5" obsolete="false" humanreadable="false">
+         <aliases>
+            <alias>Binary</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.10" obsolete="false" humanreadable="false">
+         <aliases>
+            <alias>Certificate Pair</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.1.1.0.1" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>RFC2307 Boot Parameter</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.1.1.0.0" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>RFC2307 NIS Netgroup Triple</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.1.16.1" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>UUID</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.2.36.79672281.1.5.0" obsolete="false" humanreadable="true">
+         <aliases>
+            <alias>RDN</alias>
+         </aliases>
+      </syntax>
+   </syntaxes>
+</schema>

Modified: directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java?rev=585531&r1=585530&r2=585531&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java (original)
+++ directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java Wed Oct 17 08:02:12 2007
@@ -42,6 +42,7 @@
 import org.apache.directory.studio.schemaeditor.model.io.XMLSchemaFileImportException;
 import org.apache.directory.studio.schemaeditor.model.io.XMLSchemaFileImporter;
 import org.apache.directory.studio.schemaeditor.view.ViewUtils;
+import org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizardSchemasSelectionPage.ServerTypeEnum;
 import org.dom4j.io.OutputFormat;
 import org.dom4j.io.XMLWriter;
 import org.eclipse.core.runtime.CoreException;
@@ -232,14 +233,14 @@
      * @return
      *      the corresponding schema, or null if no schema has been found
      */
-    public static Schema loadCoreSchema( String schemaName )
+    public static Schema loadCoreSchema( ServerTypeEnum serverType, String schemaName )
     {
         Schema schema = null;
 
         try
         {
-            URL url = Platform.getBundle( Activator.PLUGIN_ID )
-                .getResource( "resources/schemas/" + schemaName + ".xml" );
+            URL url = Platform.getBundle( Activator.PLUGIN_ID ).getResource(
+                "resources/schemas/" + getFolderName( serverType ) + "/" + schemaName + ".xml" );
 
             if ( url == null )
             {
@@ -260,6 +261,30 @@
         }
 
         return schema;
+    }
+
+
+    /**
+     * The name of the folder for the given Server Type.
+     *
+     * @param serverType
+     *      the Server Type
+     * @return
+     *      the name of the folder for the given Server Type
+     */
+    private static String getFolderName( ServerTypeEnum serverType )
+    {
+        if ( ServerTypeEnum.APACHE_DS.equals( serverType ) )
+        {
+            return "apacheds";
+        }
+        else if ( ServerTypeEnum.OPENLDAP.equals( serverType ) )
+        {
+            return "openldap";
+        }
+
+        // Default
+        return null;
     }
 
 

Modified: directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java?rev=585531&r1=585530&r2=585531&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java (original)
+++ directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java Wed Oct 17 08:02:12 2007
@@ -34,6 +34,7 @@
 import org.apache.directory.studio.schemaeditor.model.Schema;
 import org.apache.directory.studio.schemaeditor.model.io.SchemaConnector;
 import org.apache.directory.studio.schemaeditor.view.ViewUtils;
+import org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizardSchemasSelectionPage.ServerTypeEnum;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.jface.operation.IRunnableWithProgress;
 import org.eclipse.jface.viewers.IStructuredSelection;
@@ -167,11 +168,12 @@
         {
             // Getting the selected 'core' schemas
             String[] selectedSchemas = schemasSelectionPage.getSelectedSchemas();
-            if ( selectedSchemas != null )
+            ServerTypeEnum serverType = schemasSelectionPage.getServerType();
+            if ( ( selectedSchemas != null ) && ( serverType != null ) )
             {
                 for ( String selectedSchema : selectedSchemas )
                 {
-                    Schema schema = PluginUtils.loadCoreSchema( selectedSchema );
+                    Schema schema = PluginUtils.loadCoreSchema( serverType, selectedSchema );
                     if ( schema != null )
                     {
                         project.getSchemaHandler().addSchema( schema );
@@ -230,9 +232,6 @@
             {
                 return schemasSelectionPage;
             }
-
-            // Default
-            return null;
         }
 
         // Default

Modified: directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java?rev=585531&r1=585530&r2=585531&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java (original)
+++ directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java Wed Oct 17 08:02:12 2007
@@ -102,12 +102,12 @@
             typeGroup.setLayout( new GridLayout() );
             typeGroup.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
-            typeOnlineRadio = new Button( typeGroup, SWT.RADIO );
-            typeOnlineRadio.setText( "Online Schema from a Directory Server" );
-            typeOnlineRadio.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
             typeOfflineRadio = new Button( typeGroup, SWT.RADIO );
             typeOfflineRadio.setText( "Offline Schema" );
             typeOfflineRadio.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+            typeOnlineRadio = new Button( typeGroup, SWT.RADIO );
+            typeOnlineRadio.setText( "Online Schema from a Directory Server" );
+            typeOnlineRadio.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         }
 
         initFields();
@@ -121,9 +121,9 @@
      */
     private void initFields()
     {
-        if ( typeOnlineRadio != null )
+        if ( typeOfflineRadio != null )
         {
-            typeOnlineRadio.setSelection( true );
+            typeOfflineRadio.setSelection( true );
         }
 
         displayErrorMessage( null );

Modified: directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardSchemasSelectionPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardSchemasSelectionPage.java?rev=585531&r1=585530&r2=585531&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardSchemasSelectionPage.java (original)
+++ directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardSchemasSelectionPage.java Wed Oct 17 08:02:12 2007
@@ -36,6 +36,7 @@
 import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Button;
 import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Table;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
@@ -52,6 +53,8 @@
 public class NewProjectWizardSchemasSelectionPage extends WizardPage
 {
     // UI Fields
+    private Button typeApacheDSButton;
+    private Button typeOpenLDAPButton;
     private CheckboxTableViewer coreSchemasTableViewer;
 
 
@@ -62,7 +65,7 @@
     {
         super( "NewProjectWizardSchemasSelectionPage" );
         setTitle( "Create a Schema project." );
-        setDescription( "Please select the core schemas to include." );
+        setDescription( "Please select the core schemas to include in the project." );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
             PluginConstants.IMG_PROJECT_NEW_WIZARD ) );
     }
@@ -77,14 +80,44 @@
         composite.setLayout( new GridLayout( 2, false ) );
         composite.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
 
+        // Server Type Group
+        Group serverTypeGroup = new Group( composite, SWT.NONE );
+        serverTypeGroup.setText( "Server Type" );
+        serverTypeGroup.setLayout( new GridLayout( 2, false ) );
+        serverTypeGroup.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
+
+        // Type Apache DS Button
+        typeApacheDSButton = new Button( serverTypeGroup, SWT.RADIO );
+        typeApacheDSButton.setText( "Apache DS" );
+        typeApacheDSButton.addSelectionListener( new SelectionAdapter()
+        {
+            public void widgetSelected( SelectionEvent e )
+            {
+                initCoreSchemasTableViewerApacheDS();
+            }
+        } );
+
+        // Type OpenLDAP Button
+        typeOpenLDAPButton = new Button( serverTypeGroup, SWT.RADIO );
+        typeOpenLDAPButton.setText( "OpenLDAP" );
+        typeOpenLDAPButton.addSelectionListener( new SelectionAdapter()
+        {
+            public void widgetSelected( SelectionEvent e )
+            {
+                initCoreSchemasTableViewerOpenLDAP();
+            }
+        } );
+
+        // Core Schemas Label
+        Label coreSchemaslabel = new Label( composite, SWT.NONE );
+        coreSchemaslabel.setText( "Choose the 'core' schemas to include:" );
+        coreSchemaslabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
+
         // Core Schemas TableViewer
-        Label label = new Label( composite, SWT.NONE );
-        label.setText( "Choose the 'core' schemas to include in the project:" );
-        label.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         coreSchemasTableViewer = new CheckboxTableViewer( new Table( composite, SWT.BORDER | SWT.CHECK
             | SWT.FULL_SELECTION ) );
-        GridData gridData = new GridData( SWT.FILL, SWT.NONE, true, false, 1, 2 );
-        gridData.heightHint = 160;
+        GridData gridData = new GridData( SWT.FILL, SWT.FILL, true, true, 1, 2 );
+        gridData.heightHint = 127;
         coreSchemasTableViewer.getTable().setLayoutData( gridData );
         coreSchemasTableViewer.setContentProvider( new ArrayContentProvider() );
         coreSchemasTableViewer.setLabelProvider( new LabelProvider()
@@ -129,6 +162,18 @@
      */
     private void initFields()
     {
+        typeApacheDSButton.setSelection( true );
+
+        initCoreSchemasTableViewerApacheDS();
+    }
+
+
+    /**
+     * Initializes the Core Schemas Table with Apache DS Schemas
+     */
+    private void initCoreSchemasTableViewerApacheDS()
+    {
+        coreSchemasTableViewer.setAllChecked( false );
         coreSchemasTableViewer.setInput( new String[]
             { "apache", "apachedns", "apachemeta", "autofs", "collective", "corba", "core", "cosine", "dhcp",
                 "inetorgperson", "java", "krb5kdc", "mozilla", "nis", "samba", "system" } );
@@ -136,6 +181,18 @@
 
 
     /**
+     * Initializes the Core Schemas Table with Apache DS Schemas
+     */
+    private void initCoreSchemasTableViewerOpenLDAP()
+    {
+        coreSchemasTableViewer.setAllChecked( false );
+        coreSchemasTableViewer.setInput( new String[]
+            { "corba", "core", "cosine", "dyngroup", "inetorgperson", "java", "misc", "nis", "openldap", "ppolicy",
+                "system" } );
+    }
+
+
+    /**
      * Gets the schemas selected by the User.
      *
      * @return
@@ -144,5 +201,40 @@
     public String[] getSelectedSchemas()
     {
         return Arrays.asList( coreSchemasTableViewer.getCheckedElements() ).toArray( new String[0] );
+    }
+
+
+    /**
+     * Gets the Server Type
+     *
+     * @return
+     *      the Server Type
+     */
+    public ServerTypeEnum getServerType()
+    {
+        if ( typeApacheDSButton.getSelection() )
+        {
+            return ServerTypeEnum.APACHE_DS;
+        }
+        else if ( typeOpenLDAPButton.getSelection() )
+        {
+            return ServerTypeEnum.OPENLDAP;
+        }
+        else
+        {
+            // Default
+            return null;
+        }
+    }
+
+    /**
+     * This enum represents the different server types.
+     *
+     * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+     * @version $Rev$, $Date$
+     */
+    public enum ServerTypeEnum
+    {
+        APACHE_DS, OPENLDAP
     }
 }



Mime
View raw message