Samba4/OSX

From SambaWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Dependencies

  • MacPorts
  • Binaries...

We may need more or less ports. Will test on a fresh install. Wget is not a dependency of Samba4

sudo port install python26 python_select gnutls readline talloc wget

Compiling Samba4

You can use the Git instructions as in the general guide, or

wget http://download.samba.org/samba/ftp/samba4/samba-4.0.0alpha14.tar.gz
tar -xvjf samba-4.0.0alpha14.tar.gz
cd samba-4.0.0alpha14/source4
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
./configure
make
sudo make install
python_select python26
./setup/provision --realm=samdom.example.com --domain=SAMDOM --adminpass=SOMEPASSWORD --server-role='domain controller'

Managing Samba4 with Launchd

Configuring Samba 4 with Server Admin

Building a Samba4 Port