Difference between revisions of "Samba4/OSX"

m
m (Dependencies)
Line 1: Line 1:
 
Under Construction.  Right now, this page is a short list of notes.
 
Under Construction.  Right now, this page is a short list of notes.
 
==Dependencies==
 
==Dependencies==
* MacPorts
+
Install MacPorts using the instructions on [macports.org]Once your MacPorts system is set up how you like it, type in the following command to install programs required by Samba 4.
* Binaries...
+
  # port install python27 python_select gnutls readline talloc && python_select python27
We may need more or less portsWill test on a fresh install. Wget is not a dependency of Samba4
 
  sudo port install python27 python_select gnutls readline talloc wget
 
  
 
==Compiling Samba4==
 
==Compiling Samba4==

Revision as of 14:52, 5 February 2011

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

Dependencies

Install MacPorts using the instructions on [macports.org]. Once your MacPorts system is set up how you like it, type in the following command to install programs required by Samba 4.

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

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
python_select python26
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
./configure
make
sudo make install
./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