Changes between Initial Version and Version 1 of samba4


Ignore:
Timestamp:
03/20/2013 07:11:39 AM (11 years ago)
Author:
thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • samba4

    v1 v1  
     1This page is meant to give a platform to develop and to collect infos and hints for the way to setup an AD-DC using Samba 4.
     2
     3== Prerequisites ==
     4
     5=== OpenLDAP ===
     6The build instructions in the book are pretty fine.
     7
     8=== NTP ===
     9The switch `--enable-ntp-signd` must be added
     10
     11=== BIND (DNS) ===
     12The Samba4 comes with an internal DNS server, too. Its up to us which way to go, using Bind or the internal DNS. AFAIK, when using Bind, the instructions in the book should be ok.
     13For the later Samba4 build add
     14{{{
     15options_dns="--dns-backend=SAMBA_INTERNAL --with-dnsupdate"
     16}}}
     17
     18=== Kerberos ===
     19As for now, it's the best way to have no Kerberos installation around. Samba4 comes with an own Heimdal-based Kerberos implementation. Even Samba4 compiles fine against MIT-Krb5, the AD controller functionality gets disabled. This is not what we want to have.
     20
     21=== Miscellaneous ===
     22For testing, I add following options
     23{{{
     24options_misc="--with-ads --with-ldap --with-swat --with-winbind --enable-gnutls"
     25}}}
     26
     27== Building Samba4 ==
     28{{{
     29CPPFLAGS="-I/usr/include/tirpc" CFLAGS="-I/usr/include/tirpc" \
     30LINKFLAGS="-ltirpc" \
     31./configure --prefix=/usr \
     32            --sysconfdir=/etc \
     33            --localstatedir=/var \
     34            --with-piddir=/run \
     35            --enable-fhs \
     36            --enable-nss-wrapper \
     37            --enable-socket-wrapper \
     38            --disable-rpath-install \
     39            $options_dns $options_misc &&
     40make &&
     41make install
     42}}}
     43
     44== Setting up the domain ==
     45
     46./setup-domain ...
     47