From SambaWiki

Under Construction. Right now, this page is a short list of notes.


Install MacPorts using the instructions on Once your MacPorts system is set up how you like it, type in the following command to install Samba 4 dependencies.

# port install python27 python_select gnutls readline talloc && python_select python27

Compiling Samba4

You can use the Git instructions as in the Samba4/HOWTO general guide, or you may prefer to use releases:

tar -xvjf samba-4.0.0alpha14.tar.gz
cd samba-4.0.0alpha14/source4
python_select python26
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
sudo make install
./setup/provision --domain=SAMDOM --adminpass=SOMEPASSWORD --server-role='domain controller'

Managing Samba4 with Launchd

Configuring Samba 4 with Server Admin

Building a Samba4 Port