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

Re: !!!!Ne quich help--Converting 'ldif'file to databse!!!!



Christian Pinheiro wrote:
> "Kurt D. Zeilenga" wrote:
> > At 05:22 PM 9/22/99 +0200, Sven Veckes wrote:
> > >I've build up some test file, ldif-style and I want to buield a database
> > >now using 'ldif2ldbm'.
> >
> > Don't.  Use ldapadd(1) instead to add new entries to your directory.
> > See FAQ/Archives for details.
> >
> > >Strange: SOme entry's are working and some not.
> > >
> > >'ldapserch uid=s.veckes' -> gives all information ffrom this entry.
> > >'ldapserch uid=c.whitbread' -> gives: no such object
> >
> > Post exact commands used and their output, ldap.conf(5) settings,
> > and relevant slapd.conf(5) settings.
> 
> ldapadd is to slow. You'd better use ldiftoldbm if you have a lot of
> entries.

You can easily disable write sync during your initial load...  ldif2ldbm
should only be used during a database recovery as it does no data
consistency checking whatsoever.... resulting in garbage in/garbage out.

Kurt