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

Re: ldif2ldbm



sam wun writes:
> I would like to add data to ldbm database on the fly with script 
> ldif2ldbm, but I couldn't find the script in openldap installation.

slapadd.

> ldif2ldbm -i my-data-file -f /usr/local/etc/openldap/slapd.conf

/usr/local/sbin/slapadd -l my-data-file -f /usr/local/etc/openldap/slapd.conf

I think the database directory (specified in slapd.conf) must already
exist, and you must remove the database files in that directory first.

-- 
Hallvard