[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldif import problems

Check to see if all the attributes you're adding (and objectclasses!)
are supported by the schema you've loaded.

I got the same error (could not parse) and it was due to forgetting
about a schema file.


On Thu, 20 Oct 2005, Matthew Rasnake wrote:

i've been trying this for a couple days, searching all over creation for
an answer, but i think i still just don't understand all this ldap stuff
enough. can anybody lend a hand?

I'm attempting to import an ldif I exported from Thunderbird. I have the
latest mozillaAddressBookEntry.schema i could find, and have had no
trouble with the general setup of openLDAP or with importing the basic
init.ldif as specified in the setup guides i found online.

however, when i attempt to import the thunderbird ldif file, i get the

C:\PROGRA~1\OpenLDAP>slapadd -l temp.ldif -v -d 2
bdb_db_init: Initializing BDB database
str2entry: invalid value for attribute objectClass (syntax
slapadd: could not parse entry (line=15)

line 15 of the ldif is a blank line.

i'm running on windows using the latest win32 port, the .ldif i'm trying
to import uses DOS EOL (so, cr/lf)

anybody have any ideas or pointers?

thanks in advance!


-- Michael Brown {0x527670C0} | `One of the main causes of the fall of Systems Administrator | the Roman Empire was that, lacking zero, +1 519 888 7111 x2339 | they had no way to indicate successful michaelb@opentext.com | termination of their C programs.' - Firth