HowTo Update OpenChange and Samba From Source

Requirements

This guide assumes you have already successfully followed the instructions from HowTo_Install_OpenChange_From_Source and Samba4 was downloaded using Samba4 GIT repository.

Update OpenChange to latest revision

From OpenChange master directory, run:

$ git fetch origin
$ git rebase origin/master

Update Samba4

From OpenChange trunk directory, run

$ make samba-git-update
$ sudo ldconfig

Compile OpenChange

After an update, the OpenChange team generally recommends to do a clean build.
While this operation is generally only needed after new files or the build system got modified, it generally helps avoiding potential conflicts with previous installation.

$ ./autogen.sh && ./configure --prefix=/usr/local/samba
$ sudo make uninstall
$ make distclean

You can now compile and install OpenChange using the instructions available here: