Current versions of openldap include the new mdb backend (which is enabled by default, and hence works even though the current ebuild doesn't explicitly mention it). If you're using mdb, you really need the mdb_stat tool, which is included in the liblmdb bundled with openldap but not built or installed. Ideally I suppose an mdb flag should be added to control whether or not that backend is available and also control whether or not the mdb_stat tool is installed. Roughly, the ebuild needs to cd openldap-$(LDAP_VERSION)/libraries/liblmdb make cp mdb_stat <staging dir> Reproducible: Always
in 2.4.40