[Date Prev][Date Next]
ldif2ldbm does not exist with openldap 2.x.
Use slapadd instead !
/usr/sbin/slapadd -l your_ldif_file
From: Azeddine BOUKAIOU <email@example.com>
Subject: Re: ldif
Date: Wed, 26 Sep 2001 01:09:48 -0700 (PDT)
have you created your database yet?
if no, you must first use:
ldif2ldbm -i <your file>.ldif
this command will create your *.dbb files, but you
must add with your racine, the administrator of your
database like this :
and after that, you can use ldapadd to use other
hope this will helps
--- Dane Foster <firstname.lastname@example.org> wrote:
> Hello all. I've finally got OpenLDAP 2.0.15 up and
> running. I even got it
> to accept my schema by rewriting the schema on
> Linux. It appears the
> original problem was the end of line characters that
> Windows uses aren't
> compatible. Anyway, I've now moved on to getting
> data into the directory
> which isn't working. I'm taking it slowly so I'm
> entering one entry at a
> time and I can't get pass the first entry.
> dn: dc=com
> objectclass: top
> objectclass: dcObject
> dc: com
> I get the following error when I used ldapadd to add
> the above entry to the
> adding new entry "dc=com"
> ldap_add: No such object
> ldif_record() = 32
> I know the error has nothing to do with the end of
> line character because
> I've created the LDIF file using gnu emacs on linux.
> Does anyone know why
> this is happening? Thanx.
> Dane Foster
> Equity Technology Group, Inc
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp