You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Stefan Zauner <st...@jato-consulting.de> on 2008/06/04 16:42:12 UTC
Apache Directory Studio schema editor - getting started
Hello!
I'm new to Apache Directory Studio so please be forgiving. Today I installed
the ADS because I need to create a LDAP-schema for openldap and wanted to
use a schema editor for comfort. But when I create a new project and just
import the core.schema of openldap ADS comes up with a lot of errors related
to missing matching rules and syntaxes. In fact I can not choose any other
then (none) for matching rules or syntaxes when creating an own attribute
type for example. How can I teach ADS to use the standard matching rules and
syntaxes that come with openldap?
I would have used the search function of the archive but I did not see any.
I also tried the IRC but unfortunately there is no channel given on the
ADS-site. Can anybody tell me the channel?
Kind regards
Stefan Zauner
Jato Consulting GmbH
Gentzstr. 5 Rgb.
80796 München
tel: +49 (0)89 2867 30-46
fax: +49 (0)89 2867 30-44
email: stefan.zauner@jato-consulting.de
web: http://www.jato-consulting.de
Sitz und Registergericht: München HRB 138423 USt-ID-Nr. DE217772855
Geschäftsführer: Toni Krüger, Jan C. Tchinitchian
This communication is confidential and is intended for the use of the
individual or entity to which it is directed. It may contain information
that is privileged and exempt from disclosure under applicable law. If you
are not the intended recipient please notify us immediately. You should not
copy it or disclose its contents to any other person.
AW: AW: Apache Directory Studio schema editor - getting started
Posted by Stefan Zauner <st...@jato-consulting.de>.
I downloaded it today:
Apache Directory Studio
Version: 1.1.0.v20080331
kind regards
Stefan Zauner
Jato Consulting GmbH
Gentzstr. 5 Rgb.
80796 München
tel: +49 (0)89 2867 30-46
fax: +49 (0)89 2867 30-44
email: stefan.zauner@jato-consulting.de
web: http://www.jato-consulting.de
Sitz und Registergericht: München HRB 138423 USt-ID-Nr. DE217772855
Geschäftsführer: Toni Krüger, Jan C. Tchinitchian
This communication is confidential and is intended for the use of the
individual or entity to which it is directed. It may contain information
that is privileged and exempt from disclosure under applicable law. If you
are not the intended recipient please notify us immediately. You should not
copy it or disclose its contents to any other person.
> -----Ursprüngliche Nachricht-----
> Von: Emmanuel Lecharny [mailto:elecharny@gmail.com] Im Auftrag von
> Emmanuel Lecharny
> Gesendet: Mittwoch, 4. Juni 2008 17:07
> An: users@directory.apache.org
> Betreff: Re: AW: Apache Directory Studio schema editor - getting started
>
> Which version are you using ?
>
>
> Stefan Zauner wrote:
> > Hi!
> >
> > At first thanks fort the quick answer which lead me a step further to
> the
> > finish line. Unfortunately there still remain some (about 20) errors
> even if
> > I just add all openldap-schemas and do nothing else in that project.
> > For example the matching rule "CaseIgnoreListSubstringsMatch" and some
> > syntaxes are said to be not existing.
> > I can not figure out where to get those.
> >
> > Kind regards
> >
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
Re: AW: Apache Directory Studio schema editor - getting started
Posted by Emmanuel Lecharny <el...@apache.org>.
Which version are you using ?
Stefan Zauner wrote:
> Hi!
>
> At first thanks fort the quick answer which lead me a step further to the
> finish line. Unfortunately there still remain some (about 20) errors even if
> I just add all openldap-schemas and do nothing else in that project.
> For example the matching rule "CaseIgnoreListSubstringsMatch" and some
> syntaxes are said to be not existing.
> I can not figure out where to get those.
>
> Kind regards
>
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org
AW: Apache Directory Studio schema editor - getting started
Posted by Stefan Zauner <st...@jato-consulting.de>.
Hi!
At first thanks fort the quick answer which lead me a step further to the
finish line. Unfortunately there still remain some (about 20) errors even if
I just add all openldap-schemas and do nothing else in that project.
For example the matching rule "CaseIgnoreListSubstringsMatch" and some
syntaxes are said to be not existing.
I can not figure out where to get those.
Kind regards
Stefan Zauner
Jato Consulting GmbH
Gentzstr. 5 Rgb.
80796 München
tel: +49 (0)89 2867 30-46
fax: +49 (0)89 2867 30-44
email: stefan.zauner@jato-consulting.de
web: http://www.jato-consulting.de
Sitz und Registergericht: München HRB 138423 USt-ID-Nr. DE217772855
Geschäftsführer: Toni Krüger, Jan C. Tchinitchian
This communication is confidential and is intended for the use of the
individual or entity to which it is directed. It may contain information
that is privileged and exempt from disclosure under applicable law. If you
are not the intended recipient please notify us immediately. You should not
copy it or disclose its contents to any other person.
> -----Ursprüngliche Nachricht-----
> Von: Emmanuel Lecharny [mailto:elecharny@gmail.com] Im Auftrag von
> Emmanuel Lecharny
> Gesendet: Mittwoch, 4. Juni 2008 16:49
> An: users@directory.apache.org
> Betreff: Re: Apache Directory Studio schema editor - getting started
>
> Hi,
>
> Stefan Zauner wrote:
> > Hello!
> >
> >
> >
> > I'm new to Apache Directory Studio so please be forgiving. Today I
> installed
> > the ADS because I need to create a LDAP-schema for openldap and wanted
> to
> > use a schema editor for comfort. But when I create a new project and
> just
> > import the core.schema of openldap ADS comes up with a lot of errors
> related
> > to missing matching rules and syntaxes. In fact I can not choose any
> other
> > then (none) for matching rules or syntaxes when creating an own
> attribute
> > type for example. How can I teach ADS to use the standard matching rules
> and
> > syntaxes that come with openldap?
> >
> You can simply import all of the OpenLdap embedded schema, ass they are
> proposed by default :
> 1) create a new project
> 2) select the OpenLdap server type
> 3) select the needed schema in the list
> 4) click on Finish
>
> There is a bug when you explicitely import OpenLdap from files. Using
> the embedded schema is correct, as they are exactly the same.
>
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
Re: Apache Directory Studio schema editor - getting started
Posted by Emmanuel Lecharny <el...@apache.org>.
Hi,
Stefan Zauner wrote:
> Hello!
>
>
>
> I'm new to Apache Directory Studio so please be forgiving. Today I installed
> the ADS because I need to create a LDAP-schema for openldap and wanted to
> use a schema editor for comfort. But when I create a new project and just
> import the core.schema of openldap ADS comes up with a lot of errors related
> to missing matching rules and syntaxes. In fact I can not choose any other
> then (none) for matching rules or syntaxes when creating an own attribute
> type for example. How can I teach ADS to use the standard matching rules and
> syntaxes that come with openldap?
>
You can simply import all of the OpenLdap embedded schema, ass they are
proposed by default :
1) create a new project
2) select the OpenLdap server type
3) select the needed schema in the list
4) click on Finish
There is a bug when you explicitely import OpenLdap from files. Using
the embedded schema is correct, as they are exactly the same.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org
Re: Apache Directory Studio schema editor - getting started
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
On Wed, Jun 4, 2008 at 4:42 PM, Stefan Zauner <
stefan.zauner@jato-consulting.de> wrote:
> Hello!
Hi Stefan,
I'm new to Apache Directory Studio so please be forgiving. Today I installed
> the ADS because I need to create a LDAP-schema for openldap and wanted to
> use a schema editor for comfort. But when I create a new project and just
> import the core.schema of openldap ADS comes up with a lot of errors
> related
> to missing matching rules and syntaxes. In fact I can not choose any other
> then (none) for matching rules or syntaxes when creating an own attribute
> type for example. How can I teach ADS to use the standard matching rules
> and
> syntaxes that come with openldap?
Unfortunately, the .schema does not include the descriptions of the matching
rules and syntaxes, but only the descriptions of attribute types and object
classes (that's not a bug...).
That's why we ship with the application "improved" versions of the .schema
files (which are XML files actually) that include the descriptions of all
the elements (attribute types, object classes, matching rules and syntaxes).
Emmanuel has given you the right hint on how to use them.
Now, the 20 errors you're getting when you import those internal "improved"
versions are, i'm sad to say that, plain normal.
When I generated the "improved" schema files from a fresh install of the
latest version of OpenLDAP, I got those errors and could not find how to
them too.
I need to take a look at that very soon and see if I can find why I'm
getting the errors and where are those syntaxes and matching rules.
I'm going to open a JIRA for this. Hopefully, we can address this issue for
the next version of Studio.
Thanks,
Pierre-Arnaud Marcelot