1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
6 <refentrytitle>ldb</refentrytitle>
7 <manvolnum>7</manvolnum>
12 <refname>ldb</refname>
13 <refpurpose>Lightweight DataBase</refpurpose>
17 <title>DESCRIPTION</title>
19 <para>Ldb is a library providing simple LDAP-like database system that
20 can use either tdb or LDAP as its backend. It's internal API is similar to
23 <para>ldb is used heavily in Samba 4. It's aim is to provide a LDAP-like
24 database system at all times, even when no LDAP server is available.
29 <title>LDB URLS</title>
36 <title>FUNCTIONS</title>
39 <varlistentry><term>ldb_connect(2)</term>
41 Connect to an LDAP server or local LDB database stored in TDB.
44 <varlistentry><term>ldb_close(2)</term>
46 Close connection to the server.
49 <varlistentry><term>ldb_search(2)</term>
51 Search for specified attributes of records that match a LDAP-like search string.
54 <varlistentry><term>ldb_search_free(2)</term>
59 <varlistentry><term>ldb_add(2)</term>
64 <varlistentry><term>ldb_modify(2)</term>
69 <varlistentry><term>ldb_delete(2)</term>
74 <varlistentry><term>ldb_errstring(2)</term>
76 Return extended error information from last call.
79 <varlistentry><term>ldb_casefold(2)</term>
89 <title>PERFORMANCE</title>
95 <title>COMPATIBILITY WITH LDAP</title>
100 <title>SEE ALSO</title>
106 <title>VERSION</title>
108 <para>This man page is correct for version 4.0 of the Samba suite.</para>
112 <title>AUTHOR</title>
114 <para>ldb was written by Andrew Tridgell. </para>
116 <para>This manpage was written by Jelmer Vernooij. </para>