1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
6 <BODY BGCOLOR=
"#ffffff" TEXT=
"#000000" VLINK=
"#292555" LINK=
"#292555" ALINK=
"#cc0033">
10 ldb is a LDAP-like embedded database. It is not at all
11 <a href=
"http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol">LDAP
</a>
12 standards compliant, so if you want a standards compliant database then please
13 see the excellent
<a href=
"http://www.openldap.org/">OpenLDAP
</a>
16 What ldb does is provide a fast database with an LDAP-like API
17 designed to be used within an application. In some ways it can be seen
18 as a intermediate solution between key-value pair databases and a real
21 ldb is the database engine used in Samba4.
25 The main features that separate ldb from other solutions are:
28 <li>Safe multi-reader, multi-writer, using byte range locking
29 <li><a href=
"http://en.wikipedia.org/wiki/LDAP_Application_Program_Interface">LDAP-like API
</a>
31 <li>choice of local tdb or remote LDAP backends
32 <li>integration with
<a href=
"http://talloc.samba.org">talloc
</a>
33 <li>schema-less operation, for trivial setup
34 <li>modules for extensions (such as schema support)
35 <li>easy setup of indexes and attribute properties
36 <li><a href=
"http://en.wikipedia.org/wiki/LDAP_Data_Interchange_Format">LDIF
</a> for import/export
37 <li>ldbedit tool for database (via LDIF) editing (reminiscent of 'vipw')
40 <h2>Documentation
</h2>
42 Currently ldb is completely lacking in programmer or user
43 documentation. This is your opportunity to make a contribution! Start
44 with the public functions declared in
<a
45 href=
"http://samba.org/ftp/unpacked/ldb/include/ldb.h">ldb.h
</a>
46 and the example code in the
<a
47 href=
"http://samba.org/ftp/unpacked/ldb/tools/">tools
48 directory
</a>. Documentation in the same docbook format used by Samba
51 <h2>Discussion and bug reports
</h2>
53 ldb does not have its own mailing list or bug tracking system. Please
55 the
<a href=
"https://lists.samba.org/mailman/listinfo/samba-technical">samba-technical
</a>
56 mailing list, and the
<a href=
"http://bugzilla.samba.org/">Samba
57 bugzilla
</a> bug tracking system.
61 You can download the latest release here:
<br>
62 <a href=
"http://samba.org/ftp/pub/ldb">http://samba.org/ftp/pub/ldb
</a>
64 Alternatively, you can fetch via git. See the following guide:
<br>
65 <a href=
"http://wiki.samba.org/index.php/Using_Git_for_Samba_Development">Using Git for Samba Development
</a><br>
69 <a href=
"http://samba.org/~tridge/">Andrew Tridgell
</a><br>