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

Re: Backing up LDAP database



Lars Uffmann wrote:
> 
> Julio Sánchez Fernández wrote:
> >
> > Lars Uffmann wrote:
> >
> > > I use openldap version 1.2.6 amd BerklyDB ( I still have to upgrade).
> > > ldbmcats output IS not in the right order.
> >
> > Don't let that puzzle you, it's alright.  The ldif2* tools will live
> > with that.  Anyway, upgrade to 1.2.7, it is fixed there, not sure for
> > 1.2.7.  Also get a recent BDB like 2.7.5.
> >
> > At some time in the past, it seemed that ldbmcat would produce the
> > entries in ID order and the ldif2* tools still had assumptions about
> > that.  In fact, some of those tools had problems even if there were
> > holes in the ID sequences (as could happen with deleted entries).
> 
> Doesn't ldif2ldbm needs ordered input (-n option to ldbmcat) while
> ldif2index needs entry IDs before each entry ? I experimented a lot
> with this tools, but
>   ldbmcat id2entry.dbb > ldif
Ups, I forgot the  -n option.
>   ldif2index -i ldif -f slapd-con
> did not worked for me. However, generating attribute index files worked
> properly.


-- 
Lars Uffmann, <lars.uffmann@mediaways.net>, fon: +49 5241 80 40330