--On May 25, 2007 1:53:04 PM -0700 Craig <[EMAIL PROTECTED]> wrote:

Hmm... it seems related:

$ slapd_db_recover blah
usage: db_recover [-ceVv] [-h home] [-P password] [-t
[[CC]YY]MMDDhhmm[.SS]]

(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:
http://isoredirect.centos.org/centos/4.4/os/i386/CentOS/RPMS/openldap-ser
vers-2.2.13-6.4E.i386.rpm

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.

--Quanah


--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to