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

Re: ldif

ldif2ldbm does not exist with openldap 2.x.
Use slapadd instead !
/usr/sbin/slapadd -l your_ldif_file

From: Azeddine BOUKAIOU <boukaze@yahoo.com>
To: dfoster@equitytg.com
CC: openldap-software@OpenLDAP.org
Subject: Re: ldif
Date: Wed, 26 Sep 2001 01:09:48 -0700 (PDT)

Hi all,

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 :

dn: dc=com
objectclass: top
objectclass: dcObject
dc: com


and after that, you can use ldapadd to use other

hope this will helps

--- Dane Foster <dfoster@equitytg.com> 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.
> <snip>
> dn: dc=com
> objectclass: top
> objectclass: dcObject
> dc: com
> </snip>
> I get the following error when I used ldapadd to add
> the above entry to the
> directory:
> <error>
> adding new entry "dc=com"
> ldap_add: No such object
> ldif_record() = 32
> </error>
> 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
> http://www.equitytg.com.
> 954.360.9800

Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp