directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <>
Subject Re: Loading ldif files into apache ds
Date Wed, 04 Apr 2007 17:59:26 GMT

On 4/3/07, George Stoianov <> wrote:
> Hi Emmanuel,

SNIP ...

failed to add entry o=internet: already exists!
> Import failed...

It sounds like you already have an entry here.  Check to see if it's
If so this is a valid response from the server and the client.

Also if the command line tools may be suspect give LDAP studio a try.

It seems like now it is making an attempt to add the internet entry
> and failing, and the first problem was that it was not finding it so
> it was not making an attempt to add I am really confused ..... :(

Again check that you did not add it already.  Browse what you have
with LS and see if it's still there.

I tried adding an "-e" option to the import command above, I saw it
> posted on the lists, and that lead to a:
> Exception in thread "main" java.lang.NullPointerException
>         at
>         at
>         at
>         at
>         at
>         at
> Is there a way to just load the ldif using the:
> <property name="ldifDirectory">
You could do this but LS might be easier.

I alsohave some attributes problems (the export is from a Netscape LDAP
> server).
> "... nsuniqueid not found in attribute registry! "
> "...  aci not found in attribute registry! "

These are netscape specific attributes.  ApacheDS will not have these ATs

If I remove these fields from the ldif will the import work?

It might but this all depends on the schema (objectClasses and
attributeTypes used by
the entries in your LDIF) which if not defined will raise schema
violations.  You may need
to install a new schema to support your LDIF or you may need to massage the
LDIF to use
existing schemas.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message