Thank you very much.
done.

Emmanuel Lecharny wrote:
Ok, I have tried to import the data with apachedsTools, and it seems that
the LdifReader has some problem with the header.

After having created the sevenseas partition on the server, remove the line
which contains
version: 1

and try to import it : it should work.

On 2/1/07, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:

Sorry for the delay,

the reason why you can't import this file directly is simple : you don't
have any partition associated with the ldif file.

You have to modify the server.xml file to add a partition (o=sevenseas) to
be able to import correctly the ldif file.

It's described here :

http://directory.apache.org/apacheds/1.0/basic-configuration-tasks.html

Hope it helps...

Emmanuel

On 2/1/07, legolas wood <[EMAIL PROTECTED]> wrote:
>
> Emmanuel Lecharny wrote:
> > Ok, here is the status :
> >
> > On 2/1/07, legolas wood <[EMAIL PROTECTED] > wrote:
> >>
> >> I am trying to import the sample data mentioned in
> >>
> >> http://directory.apache.org/apacheds/1.0/about-the-sample-configurations-and-sample-directory-data.data/apache_ds_tutorial.ldif
>
> >>
> >> into the apacheDS 1.0 which i have installed from its exe file.
> >>
> >> here is the command that i execute :
> >>
> >> java -jar apacheds-tools.jar import -u "uid=admin, ou=system" -w
> secret
> >> -e -f c:/ldapData.ldif
> >>
> >> I get the following message :
> >> Done!
> >> 0 users changed in 0 seconds
> >>
> >>
> >> Can some one give me some help about this ?
> >
> >
> > apacheds-tools seems to be totally buggy. I watched the logs on the
> > server,
> > and what I saw is just a BIND and immediatly an UNBIND request. No
> > time for
> > any ADDDRequest.
> >
> > Anyone want to dig this apachedsTools ?
> >
> >
> >
> >
> Hi
> Do you tried to import the data using JXplorer ?
> Here is the complete stacktrace of error that JXplorer version 3.1
> return when i try to import file using JXplorer
>
> javax.naming.NameNotFoundException: [LDAP: error code 32 - failed to add
> entry ou=people,o=sevenSeas: ou=people,o=sevenSeas]; remaining name
> 'ou=people,o=sevenSeas'
>     at com.sun.jndi.ldap.LdapCtx.mapErrorCode (Unknown Source)
>     at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
>     at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
>     at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(Unknown Source)
>     at
> com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(Unknown
> Source)
>     at
> com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext
> (Unknown
> Source)
> at javax.naming.directory.InitialDirContext.createSubcontext(Unknown
> Source)
>     at com.ca.commons.jndi.JNDIOps.addEntry(JNDIOps.java:471)
>     at com.ca.commons.naming.DXOps.addEntry(DXOps.java:327)
>     at com.ca.commons.naming.DXOps.addEntryToDirectory(DXOps.java:308)
>     at com.ca.commons.naming.DXOps.modifyEntry(DXOps.java:280)
>     at
> com.ca.directory.jxplorer.broker.JNDIBroker.unthreadedModify(
> JNDIBroker.java:1046)
>     at
> com.ca.directory.jxplorer.LdifImport.readLdifTree (LdifImport.java:206)
>     at
> com.ca.directory.jxplorer.LdifImport$1.doExtendedRequest(LdifImport.java
> :115)
>     at
> com.ca.directory.jxplorer.broker.Broker.doExtendedQuery(Broker.java:362)
>     at
> com.ca.directory.jxplorer.broker.Broker.processRequest (Broker.java:214)
>     at
> com.ca.directory.jxplorer.broker.JNDIBroker.processRequest(
> JNDIBroker.java:360)
> at com.ca.directory.jxplorer.broker.Broker.processQueue(Broker.java
> :158)
>     at
> com.ca.directory.jxplorer.broker.JNDIBroker.processQueue (
> JNDIBroker.java:877)
>     at com.ca.directory.jxplorer.broker.Broker.run(Broker.java:124)
>     at java.lang.Thread.run(Unknown Source)
>
>
>
>


--
Cordialement,
Emmanuel Lécharny
www.iktek.com





Reply via email to