summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-04-26 04:02:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:18 -0500
commitc878d4659b016e7f4866b0315ad8c8f4fd651a01 (patch)
tree72ed93fc332d1aef78dd72600582079e76cbd096 /source4
parent9ced235daba8cb6b516eedb857569de8da1aeb5c (diff)
downloadsamba-c878d4659b016e7f4866b0315ad8c8f4fd651a01.tar.gz
samba-c878d4659b016e7f4866b0315ad8c8f4fd651a01.tar.bz2
samba-c878d4659b016e7f4866b0315ad8c8f4fd651a01.zip
r6479: - added a simple web page
- fixed configure.in ordering (This used to be commit 5a727d74d74ec23f4c33695bf5665db1ce1bc49f)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/lib/ldb/autogen.sh7
-rw-r--r--source4/lib/ldb/configure.in2
-rw-r--r--source4/lib/ldb/web/index.html80
3 files changed, 88 insertions, 1 deletions
diff --git a/source4/lib/ldb/autogen.sh b/source4/lib/ldb/autogen.sh
new file mode 100755
index 0000000000..cdd7fd2e04
--- /dev/null
+++ b/source4/lib/ldb/autogen.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+(autoheader && autoconf) || exit 1
+
+echo "Now run ./configure and then make."
+exit 0
+
diff --git a/source4/lib/ldb/configure.in b/source4/lib/ldb/configure.in
index 94afebb9f5..33269bbc76 100644
--- a/source4/lib/ldb/configure.in
+++ b/source4/lib/ldb/configure.in
@@ -1,9 +1,9 @@
AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
AC_INIT(include/ldb.h)
+AC_PROG_CC
AC_FUNC_MMAP
AC_PATH_PROG(YODL2MAN,yodl2man)
AC_PATH_PROG(GCOV,gcov)
-AC_PROG_CC
sinclude(config.m4)
AC_OUTPUT(Makefile)
diff --git a/source4/lib/ldb/web/index.html b/source4/lib/ldb/web/index.html
new file mode 100644
index 0000000000..4097aa25e4
--- /dev/null
+++ b/source4/lib/ldb/web/index.html
@@ -0,0 +1,80 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+<TITLE>ldb</TITLE>
+</HEAD>
+<BODY BGCOLOR="#ffffff" TEXT="#000000" VLINK="#292555" LINK="#292555" ALINK="#cc0033">
+
+<h1>ldb</h1>
+
+ldb is a LDAP-like embedded database. It is not at all LDAP standards
+complient, so if you want a standards complient database then please
+see the excellent <a href="http://www.openldap.org/">OpenLDAP</a>
+project.<p>
+
+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.<p>
+
+ldb is the database engine used in Samba4.
+
+<h2>Features</h2>
+
+The main features that separate ldb from other solutions are:
+
+<ul>
+<li>Safe multi-reader, multi-writer, using byte range locking
+<li>LDAP-like API
+<li>fast operation
+<li>choice of local tdb or remote LDAP backends
+<li>integration with <a href="http://talloc.samba.org">talloc</a>
+<li>schema-less operation, for trivial setup
+<li>modules for extensions (such as schema support)
+<li>easy setup of indexes and attribute properties
+<li>ldbedit tool for database editing (reminiscent of 'vipw')
+<li>ldif for import/export
+</ul>
+
+<h2>Documentation</h2>
+
+Currently ldb is completely lacking in programmer or user
+documentation. This is your opportunity to make a contribution! Start
+with the public functions declared in <a
+href="http://samba.org/ftp/unpacked/samba4/source/lib/ldb/include/ldb.h">ldb.h</a>
+and the example code in the <a
+href="http://samba.org/ftp/unpacked/samba4/source/lib/ldb/tools/">tools
+directory</a>. Documentation in the same docbook format used by Samba
+would be preferred.
+
+<h2>Discussion and bug reports</h2>
+
+ldb does not currently have its own mailing list or bug tracking
+system. For now, please use the <a
+href="https://lists.samba.org/mailman/listinfo/samba-technical">samba-technical</a>
+mailing list, and the <a href="http://bugzilla.samba.org/">Samba
+bugzilla</a> bug tracking system.
+
+<h2>Download</h2>
+
+You can download the latest release either via rsync or anonymous
+svn. To fetch via svn use the following command:
+
+<pre>
+ svn co svn://svnanon.samba.org/samba/branches/SAMBA_4_0/source/lib/ldb ldb
+</pre>
+
+To fetch via rsync use this command:
+
+<pre>
+ rsync -Pavz samba.org::ftp/unpacked/samba4/source/lib/ldb .
+</pre>
+
+<hr>
+<tiny>
+<a href="http://samba.org/~tridge/">Andrew Tridgell</a><br>
+ldb AT tridgell.net
+</tiny>
+
+</BODY>
+</HTML>