[Date Prev][Date Next]
Re: 2.3 slapd_db_recover
--On May 25, 2007 1:53:04 PM -0700 Craig <firstname.lastname@example.org> wrote:
Hmm... it seems related:
$ slapd_db_recover blah
usage: db_recover [-ceVv] [-h home] [-P password] [-t
(I am assuming it is related because the useage line refers to
"db_recover" and not "slapd_db_recover".)
However, they are not identical:
$ ll /usr/bin/db_recover
-r-xr-xr-x 1 root root 8704 Feb 21 2005 /usr/bin/db_recover
$ ll /usr/sbin/slapd_db_recover
-rwxr-xr-x 1 root root 8932 Aug 12 2006 /usr/sbin/slapd_db_recover
Obviously, the difference may be superficial.
But, I'd still like to know where the "slapd_db_*" apps come from.
BTW, I run CentOS 4.4 and the rpm came from the centos repo:
MyÂguess would be it is the version of db_recover that matches the version
of BDB that OpenLDAP was compiled with.
For example, you cannot use the BDB 4.3 db_recover command to recover a BDB
4.2 database, etc. So they are simply trying to protect the user by having
them use "slapd_*" named BDB commands so that things are known to match up.
Principal Software Engineer
Zimbra :: the leader in open source messaging and collaboration