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.
If you need more information than is presented in this document, you may wish to look at the source code, especially the source code in the tools directory.
ldb makes use of the LDAP Data Interchange Format (LDIF), which is documented in RFC 2849.samba-technical mailing list, and the Samba bugzilla bug tracking system.
svn co svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/lib/ldb ldb svn co svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/lib/tdb tdb svn co svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/lib/talloc talloc
To fetch via rsync use these commands:
rsync -Pavz samba.org::ftp/unpacked/samba4/source/lib/ldb . rsync -Pavz samba.org::ftp/unpacked/samba4/source/lib/tdb . rsync -Pavz samba.org::ftp/unpacked/samba4/source/lib/talloc .