Howto build Samba4 on Ubuntu 12.04 LTS
Most Samba4 packages for Ubuntu are outdated or the imap_ad module is missing. So just compile it by yourself or download a precompiled archive including start scripts from here: https://sourceforge.net/projects/samba4ubuntu/ Build Samba4 Install the build requirements:
1 2 3 4 |
$ apt-get install git 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 libpam0g-dev xsltproc git libcap2-dev libdm0-dev libclamav6 |
Checkout the source:
1 2 3 |
$ cd /usr/local/src $ git clone -b v4-0-stable git://git.samba.org/samba.git samba4 $ cd samba4 |
Maybe you want to follow the testing branch which …