[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: openldapd (stable) --> slapd (unstable)



>>>>> "Paul" == Paul van Tilburg <paulvt@debian.org> writes:

    >> snoopy:/var/lib/openldap# ldbm2ldif su: ldbm2ldif: command not
    >> found

    Paul> I use:

    Paul> $ ldbmcat -n /var/lib/openldap/id2entry.dbb > db.ldif ^^^^

Good. You use the -n option, too. I guess I must be doing
something right ;-)
         
    Paul> <upgrade... edit config... whatevery...>

    Paul> and then: $ cd /var/lib/openldap/; ldif2ldbm -i
    Paul> /path/to/db.ldif

Ummm... Errrr... But ldif2ldbm doesn't exist in slapd:

[686] [snoopy:bam] ~/tmp/openldap >dpkg -c slapd_2.0.7-2_i386.deb | grep ldif
-rw-r--r-- root/root      1387 2001-02-26 17:15:56 ./usr/share/man/man5/ldif.5.gz

I think the required program is called slapadd, but slapadd doesn't
work; the error I get in the postinst script comes from slapadd:

snoopy:/var/lib/openldap# slapadd -l /ldif 
slapadd: could not parse entry (line=11)

where line 11 is the first blank line in the file.
-- 
Brian May <bam@debian.org>



Reply to: