Hi Dieter,

thank you very much for your answer

yes this is a part of what I need. I also need some additional
information that are usefull to some directory servers (for example:
wether the attribute has to be indexed or not, or the database field
name for Tivoli DS, or the possible superior classes for MS A.D., or
the default ACI for Novell eDirectory, etc.).

So I am looking for a format that can be easily extended to receive
the information I need. DSMLv1 seems to be extensible (the XML Schema
does not prevent it). But somebody said that the XML Schema provided
with the spec ( http://xml.coverpages.org/dsmlV1-schema.xsd ) is not
valid because XML Schema was not released at the time DSMLv1 spec was
written. If somebody has a valid version...

In fact I just need something quite clean to base my work on.

Best regards,

François


2007/5/21, Dieter Kluenter <[EMAIL PROTECTED]>:
"François Beretti" <[EMAIL PROTECTED]> writes:

> Hi,
>
> do you know a format (in XML if possible) used to describe an LDAP Schema ?
>
> I found DSMLv1 (not DSMLv2), but the XML Schema defining it is not
> valid, the website www.dsml.org is dead, and it doesn't seem to be
> used.
>
> Are there other formats ?

Do you require something like the following example of DSML1?

<?xml version="1.0" encoding="UTF-8"?>
<dsml xmlns="http://www.dsml.org/DSML";>
  <directory-schema>
    <class id="subentry" superior="#top" type="structural">
      <name>subentry</name>
      <description>RFC3672: subentry</description>
      <object-identifier>2.5.17.0</object-identifier>
      <attribute ref="#cn" required="true"/>
      <attribute ref="#subtreeSpecification" required="true"/>
    </class>
    <class id="extensibleObject" superior="#top" type="auxiliary">
      <name>extensibleObject</name>
      <description>RFC4512: extensible object</description>
      <object-identifier>1.3.6.1.4.1.1466.101.120.111</object-identifier>
    </class>
   <class id="top" type="abstract">
      <name>top</name>
      <description>top of the superclass chain</description>
      <object-identifier>2.5.6.0</object-identifier>
      <attribute ref="#objectClass" required="true"/>
    </class>
    <attribute-type id="attributeTypes">
      <name>attributeTypes</name>
      <description>RFC4512: attribute types</description>
      <object-identifier>2.5.21.5</object-identifier>
      <syntax>1.3.6.1.4.1.1466.115.121.1.3</syntax>
      <equality>objectIdentifierFirstComponentMatch</equality>
    </attribute-type>
    <attribute-type id="nameForms">
<description>RFC4512: name forms </description>
      <object-identifier>2.5.21.7</object-identifier>
      <syntax>1.3.6.1.4.1.1466.115.121.1.35</syntax>
      <equality>objectIdentifierFirstComponentMatch</equality>
 </attribute-type>
</directory-schema>
  <directory-entries/>
</dsml>

-Dieter

--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6


---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.


---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to