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

Re: Querying Directory entries



Hi again!

The format must have been ok, since it worked with
ldapmodify, but I probably missed to stop the slapd. In
what way can that effect ldif2ldbm, Nobody else were
running against the LDAP server at that time...

/Urban

Quoting Doug Nazar <nazard@dragoninc.on.ca>:

> On 26 May, Urban Lindberg wrote:
> >
> > Hi
> >
> > I tried to use ldbmcat to get an ldif file, runned
the
> > ldif file through some script, changing som
information
> > and then tried to use ldif2ldbm, to put everything
back.
> > It behaved very strange, some entries was added
> > succesfully but not all?
> >
> > Do You have any experience of this. I solved my
problem
> > by instead using ldapmodify. And that was probably a
> > more correct way, anyway:)
>
> Yes, I have done this several times. First, did you
shut down slapd
> before running ldbmcat and ldif2ldbm? Second, are you
sure that the
> ldif file was in a valid format?
>
> If the server was still running, than ldapmodify is
definatly the
> correct answer.
>
> --
> Doug Nazar
> Dragon Computer Consultants Inc.
> Tel: (416) 708-1578     Fax: (416) 708-8081
>
>