SAMBA4 Ubuntu Install

From Indie IT Wiki

To install the 'Stable' version of SAMBA4:

Linux Terminal:~$
 
apt-get install build-essential libacl1-dev libattr1-dev \
libblkid-dev libgnutls-dev libreadline-dev python-dev \
python-dnspython gdb pkg-config libpopt-dev libldap2-dev \
dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev
mkdir /usr/src/samba4
cd /usr/src/samba4/
git clone -b v4-0-stable git://git.samba.org/samba.git samba-v4-0-stable
cd samba-v4-0-stable
./configure --enable-debug --enable-selftest
make
make install