databases/ldb - The NetBSD Packages Collection

LDAP-like embedded database

ldb is a LDAP-like embedded database. It is not at all LDAP standards
compliant, so if you want a standards compliant database then please see the
excellent OpenLDAP project.

What ldb does is provide a fast database with an LDAP-like API designed to be
used within an application. In some ways it can be seen as a intermediate
solution between key-value pair databases and a real LDAP database.

ldb is the database engine used in Samba4.

* The main features that separate ldb from other solutions are:
* Safe multi-reader, multi-writer, using byte range locking
* LDAP-like API
* fast operation
* choice of local tdb or remote LDAP backends
* integration with talloc
* schema-less operation, for trivial setup
* modules for extensions (such as schema support)
* easy setup of indexes and attribute properties
* LDIF for import/export
* ldbedit tool for database (via LDIF) editing (reminiscent of 'vipw')

Build dependencies

textproc/libxslt textproc/docbook-xsl pkgtools/mktools devel/gmake devel/pkgconf pkgtools/cwrappers

Runtime dependencies

databases/lmdb databases/tdb devel/cmocka devel/popt devel/talloc devel/tevent devel/tevent lang/python311 lang/python311 databases/tdb devel/cmocka devel/popt devel/talloc devel/tevent

Binary packages

NetBSD 10.0aarch64ldb-2.7.2.tgz
NetBSD 10.0aarch64ldb-2.7.2nb1.tgz
NetBSD 10.0aarch64ebldb-2.7.2nb1.tgz
NetBSD 10.0aarch64ebldb-2.8.0.tgz
NetBSD 10.0alphaldb-2.8.0.tgz
NetBSD 10.0earmv4ldb-2.7.2nb1.tgz
NetBSD 10.0earmv6hfldb-2.7.2.tgz
NetBSD 10.0earmv7hfldb-2.7.2.tgz
NetBSD 10.0earmv7hfldb-2.7.2nb1.tgz
NetBSD 10.0i386ldb-2.8.0.tgz
NetBSD 10.0i386ldb-2.7.2nb1.tgz
NetBSD 10.0powerpcldb-2.7.2nb1.tgz
NetBSD 10.0x86_64ldb-2.8.0.tgz
NetBSD 10.0_BETAx86_64ldb-2.7.2nb1.tgz
NetBSD 10.99.4riscv64ldb-2.6.2.tgz
NetBSD 8.0i386ldb-2.7.2nb1.tgz
NetBSD 8.0i386ldb-2.7.2.tgz
NetBSD 8.0powerpcldb-2.6.1.tgz
NetBSD 8.0powerpcldb-2.8.0.tgz
NetBSD 8.0powerpcldb-2.7.2nb1.tgz
NetBSD 8.0x86_64ldb-2.7.2nb1.tgz
NetBSD 8.0x86_64ldb-2.7.2.tgz
NetBSD 8.0x86_64ldb-2.8.0.tgz
NetBSD 9.0aarch64ldb-2.7.2.tgz
NetBSD 9.0aarch64ldb-2.7.2nb1.tgz
NetBSD 9.0alphaldb-2.6.2.tgz
NetBSD 9.0alphaldb-2.8.0.tgz
NetBSD 9.0earmv4ldb-2.7.2nb1.tgz
NetBSD 9.0earmv4ldb-2.8.0.tgz
NetBSD 9.0earmv6hfldb-2.7.2.tgz
NetBSD 9.0earmv6hfldb-2.7.2nb1.tgz
NetBSD 9.0earmv7hfldb-2.7.2.tgz
NetBSD 9.0earmv7hfldb-2.7.2nb1.tgz
NetBSD 9.0i386ldb-2.7.2nb1.tgz
NetBSD 9.0i386ldb-2.8.0.tgz
NetBSD 9.0m68kldb-2.7.2nb1.tgz
NetBSD 9.0powerpcldb-2.7.2nb1.tgz
NetBSD 9.0powerpcldb-2.6.2.tgz
NetBSD 9.0powerpcldb-2.7.2.tgz
NetBSD 9.0powerpcldb-2.8.0.tgz
NetBSD 9.0sh3elldb-2.7.2nb1.tgz
NetBSD 9.0sparc64ldb-2.6.1.tgz
NetBSD 9.0sparc64ldb-2.6.2.tgz
NetBSD 9.0sparcldb-2.7.2nb1.tgz
NetBSD 9.0x86_64ldb-2.8.0.tgz
NetBSD 9.0x86_64ldb-2.7.2nb1.tgz
NetBSD 9.3x86_64ldb-2.7.2.tgz
NetBSD 9.3x86_64ldb-2.8.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

Enable LDAP support.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.