--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+<TITLE>Building CTDB and Samba</TITLE>
+</HEAD>
+<BODY BGCOLOR="#ffffff" TEXT="#000000" VLINK="#292555" LINK="#292555" ALINK="#cc0033">
+
+<h1>Building CTDB and Samba</h1>
+
+<h2>CTDB</h2>
+To build a copy of the CTDB code you should do this:
+<pre>
+ cd ctdb
+ ./autogen.sh
+ ./configure
+ make
+ make install
+</pre>
+
+You need to install ctdb on all nodes of your cluster.
+
+
+<h2>Samba3</h2>
+
+To build a copy of Samba3 with clustering and ctdb support you should do this:
+<pre>
+ cd samba_3_0_ctdb/source
+ ./autogen.sh
+ ./configure --with-ctdb=/usr/src/ctdb --with-cluster-support --enable-pie=no
+ make proto
+ make
+</pre>
+
+Once compiled, you should install Samba on all cluster nodes.<br><br>
+
+The /usr/src/ctdb path should be replaced with the path to the ctdb sources that you downloaded above.
+
+</BODY>
+</HTML>
<h2>Documentation</h2>
<a href="./getting_the_code.html">Getting the code</a><br>
+<a href="./building_samba_ctdb.html">Building Samba and CTDB</a><br>
<br>
Documentation on how to install and configure CTDB is available in the