many thanks Kiran!

After adding new nis dependency,  i am able to import the schema now.

However can one change .schema file before to get the right ldif from
studio?

Cheers,
Shiraz

On Mon, Apr 16, 2012 at 2:31 PM, Kiran Ayyagari <kayyag...@apache.org>wrote:

> the schema uses caseExactIA5SubstringsMatch which is part of the nis
> schema, so enable nis schema
> and then import.
> otoh, the desriptions in the ldif file are being encoded as Base64
> values by Studio cause of some unwanted
> white space in .schema file, you may want to fix those as well,
> however this won't block the schema from importing
>
> 2012/4/16 لسٹ शिराज़ <shiraz.li...@googlemail.com>:
> > I do not think the schema has any dependencies, as it does not have any
> > m-dependencies attribute within. For more insight the logs have been
> pasted:
> >
> > server console log: http://pastebin.com/RDEshSuY
> >
> > the ldif, generated from openldap schema: http://pastebin.com/QmBUxph5
> >
> > and the import log: http://pastebin.com/2aVs6f9c
> >
> > Many Thanks,
> > Shiraz
> >
> > On Mon, Apr 16, 2012 at 12:05 PM, Kiran Ayyagari <kayyag...@apache.org
> >wrote:
> >
> >> 2012/4/16 لسٹ शिराज़ <shiraz.li...@googlemail.com>:
> >> > Hi Kiran,
> >> >
> >> > Thanks for the reply and also helped a bit.
> >> >
> >> > I have imported the openldap schema file and exported as apache-ldap
> ldif
> >> > schema with the schema editors. Thereafter tried to import into the
> DIT
> >> > with LDAP browser while running the apacheds in parallel, however
> >> > encountered several errors of similar type on console (server side),
> i.e.
> >> >
> >> > [11:37:40] ERROR
> >> > [org.apache.directory.server.core.schema.SchemaInterceptor] - ERR_59
> >> Cannot
> >> > have a superior which does not exist
> >> >
> >> looks like some ObjectClasses in your schema are missing
> >> OR
> >> if your schema depends on any other schemas that are already present
> >> in server but not enabled
> >> at the time of loading. To fix this set the 'm-disabled' value to
> >> FALSE on that schema entry
> >> e.x if your schema depends on mozilla schema
> >> then goto the entry with DN cn=mozilla,ou=schema
> >> and change the value of 'm-disabled' to FALSE
> >>
> >> > Apart from that, I have also noticed the difference in number of
> classes
> >> > and attributes being shown in the schema editor (315 attributes, 36
> >> > classes) and imported schema in the ldap browser (109 attributes, 2
> >> > classes). This is probably due to the failures while importing the
> >> schema.
> >> >
> >> > Any help would be highly appreciated.
> >> >
> >> > Shiraz
> >> >
> >> > On Fri, Apr 13, 2012 at 4:51 PM, Kiran Ayyagari <kayyag...@apache.org
> >> >wrote:
> >> >
> >> >> you cannot add .schema files directly, use Apache Directory Studio to
> >> >> convert them to
> >> >> Apache Directory Server's schema file (which is in LDIF) and then
> >> >> import into the server
> >> >> again using Studio
> >> >>
> >> >> 2012/4/13 لسٹ शिराज़ <shiraz.li...@googlemail.com>:
> >> >> > Dear Group Members,
> >> >> >
> >> >> > I would really be grateful if you have any hints to include
> *.schema
> >> >> files
> >> >> > in the apache ds (not necessarily in the embedded version).
> >> >> >
> >> >> > Many thanks,
> >> >> > Shiraz
> >> >> >
> >> >> > 2012/4/12 لسٹ शिराज़ <shiraz.li...@googlemail.com>
> >> >> >
> >> >> >> Hi,
> >> >> >>
> >> >> >> I am very new to ApacheDS (ads), in fact to the LDAP world. I
> have an
> >> >> >> application running the embedded ads server taken from
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> http://svn.apache.org/repos/asf/directory/documentation/samples/trunk/embedded-sample/src/main/java/org/apache/directory/seserver/EmbeddedADSVer157.java
> >> >> >>
> >> >> >> Now I wonder if the following .schema file - which contains many
> of
> >> the
> >> >> >> following classes and attributes, could be loaded into the
> embedded
> >> ads?
> >> >> >>
> >> >> >>
> >> >> >> ====Begin====
> >> >> >> .........
> >> >> >> ...
> >> >> >> attributetype ( 1.3.6.1.4.1.6757.100.1.1.5.2.4
> >> >> >>         NAME 'GLUE2ExtensionEntityForeignKey'
> >> >> >>         DESC 'ForeignKey'
> >> >> >>         EQUALITY caseExactIA5Match
> >> >> >>         SUBSTR caseExactIA5SubstringsMatch
> >> >> >>         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
> >> >> >>  )
> >> >> >>
> >> >> >> objectclass ( 1.3.6.1.4.1.6757.100.1.1.5.2
> >> >> >>         NAME 'GLUE2Extension'
> >> >> >>         DESC 'A key/value pair enabling the association of extra
> >> >> >> information'
> >> >> >>         STRUCTURAL
> >> >> >>         MUST ( GLUE2ExtensionLocalId $ GLUE2ExtensionKey $
> >> >> >> GLUE2ExtensionValue
> >> >> >>  $ GLUE2ExtensionEntityForeignKey )
> >> >> >>  )
> >> >> >>
> >> >> >> ......
> >> >> >> ....
> >> >> >> ====End=====
> >> >> >>
> >> >> >>
> >> >> >> Secondly do you suggest any developer reference (e.g. book) which
> I
> >> can
> >> >> >> use to create the desired application?
> >> >> >>
> >> >> >> Thanks in advance,
> >> >> >>
> >> >> >> --
> >> >> >> Shiraz
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Cheers,
> >> >> > Shiraz
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Kiran Ayyagari
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Cheers,
> >> > Shiraz
> >>
> >>
> >>
> >> --
> >> Kiran Ayyagari
> >>
> >
> >
> >
> > --
> > Cheers,
> > Shiraz
>
>
>
> --
> Kiran Ayyagari
>



-- 
Cheers,
Shiraz

Reply via email to